From ad662c84486a2ce94fa3f7d6ae9a1e454e65730e Mon Sep 17 00:00:00 2001 From: Elliot West Date: Thu, 18 Jul 2024 15:04:34 +0100 Subject: [PATCH 1/3] ec2_fleet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Elliot West Update examples/ec2/v1beta1/fleetrequest.yaml Co-authored-by: Fatih Türken <103541666+turkenf@users.noreply.github.com> Signed-off-by: Elliot West Update examples/ec2/v1beta1/fleetrequest.yaml Co-authored-by: Fatih Türken <103541666+turkenf@users.noreply.github.com> Signed-off-by: Elliot West Update examples/ec2/v1beta1/fleetrequest.yaml Co-authored-by: Fatih Türken <103541666+turkenf@users.noreply.github.com> Signed-off-by: Elliot West Passing fleet Signed-off-by: Elliot West --- apis/ec2/v1beta1/zz_fleet_terraformed.go | 129 + apis/ec2/v1beta1/zz_fleet_types.go | 1255 ++ .../v1beta1/zz_generated.conversion_hubs.go | 3 + apis/ec2/v1beta1/zz_generated.deepcopy.go | 17285 +++++++++------- apis/ec2/v1beta1/zz_generated.managed.go | 60 + apis/ec2/v1beta1/zz_generated.managedlist.go | 9 + apis/ec2/v1beta1/zz_generated.resolvers.go | 105 + config/externalname.go | 2 + config/externalnamenottested.go | 2 - config/generated.lst | 1 + examples-generated/ec2/v1beta1/fleet.yaml | 22 + examples/ec2/v1beta1/fleet.yaml | 61 + .../controller/ec2/fleet/zz_controller.go | 94 + internal/controller/zz_ec2_setup.go | 2 + internal/controller/zz_monolith_setup.go | 2 + package/crds/ec2.aws.upbound.io_fleets.yaml | 2140 ++ 16 files changed, 13849 insertions(+), 7323 deletions(-) create mode 100755 apis/ec2/v1beta1/zz_fleet_terraformed.go create mode 100755 apis/ec2/v1beta1/zz_fleet_types.go create mode 100644 examples-generated/ec2/v1beta1/fleet.yaml create mode 100644 examples/ec2/v1beta1/fleet.yaml create mode 100755 internal/controller/ec2/fleet/zz_controller.go create mode 100644 package/crds/ec2.aws.upbound.io_fleets.yaml diff --git a/apis/ec2/v1beta1/zz_fleet_terraformed.go b/apis/ec2/v1beta1/zz_fleet_terraformed.go new file mode 100755 index 0000000000..87fcea62ea --- /dev/null +++ b/apis/ec2/v1beta1/zz_fleet_terraformed.go @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + "dario.cat/mergo" + "github.com/pkg/errors" + + "github.com/crossplane/upjet/pkg/resource" + "github.com/crossplane/upjet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Fleet +func (mg *Fleet) GetTerraformResourceType() string { + return "aws_ec2_fleet" +} + +// GetConnectionDetailsMapping for this Fleet +func (tr *Fleet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Fleet +func (tr *Fleet) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Fleet +func (tr *Fleet) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Fleet +func (tr *Fleet) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Fleet +func (tr *Fleet) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Fleet +func (tr *Fleet) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// GetInitParameters of this Fleet +func (tr *Fleet) GetInitParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.InitProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// GetInitParameters of this Fleet +func (tr *Fleet) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error) { + params, err := tr.GetParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get parameters for resource '%q'", tr.GetName()) + } + if !shouldMergeInitProvider { + return params, nil + } + + initParams, err := tr.GetInitParameters() + if err != nil { + return nil, errors.Wrapf(err, "cannot get init parameters for resource '%q'", tr.GetName()) + } + + // Note(lsviben): mergo.WithSliceDeepCopy is needed to merge the + // slices from the initProvider to forProvider. As it also sets + // overwrite to true, we need to set it back to false, we don't + // want to overwrite the forProvider fields with the initProvider + // fields. + err = mergo.Merge(¶ms, initParams, mergo.WithSliceDeepCopy, func(c *mergo.Config) { + c.Overwrite = false + }) + if err != nil { + return nil, errors.Wrapf(err, "cannot merge spec.initProvider and spec.forProvider parameters for resource '%q'", tr.GetName()) + } + + return params, nil +} + +// LateInitialize this Fleet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Fleet) LateInitialize(attrs []byte) (bool, error) { + params := &FleetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Fleet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/ec2/v1beta1/zz_fleet_types.go b/apis/ec2/v1beta1/zz_fleet_types.go new file mode 100755 index 0000000000..470484e2a9 --- /dev/null +++ b/apis/ec2/v1beta1/zz_fleet_types.go @@ -0,0 +1,1255 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FleetInitParameters struct { + + // Reserved. + Context *string `json:"context,omitempty" tf:"context,omitempty"` + + // Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain. + ExcessCapacityTerminationPolicy *string `json:"excessCapacityTerminationPolicy,omitempty" tf:"excess_capacity_termination_policy,omitempty"` + + // Information about the instances that were launched by the fleet. Available only when type is set to instant. + FleetInstanceSet []FleetInstanceSetInitParameters `json:"fleetInstanceSet,omitempty" tf:"fleet_instance_set,omitempty"` + + // The state of the EC2 Fleet. + FleetState *string `json:"fleetState,omitempty" tf:"fleet_state,omitempty"` + + // The number of units fulfilled by this request compared to the set target capacity. + FulfilledCapacity *float64 `json:"fulfilledCapacity,omitempty" tf:"fulfilled_capacity,omitempty"` + + // The number of units fulfilled by this request compared to the set target On-Demand capacity. + FulfilledOnDemandCapacity *float64 `json:"fulfilledOnDemandCapacity,omitempty" tf:"fulfilled_on_demand_capacity,omitempty"` + + // Nested argument containing EC2 Launch Template configurations. Defined below. + LaunchTemplateConfig []FleetLaunchTemplateConfigInitParameters `json:"launchTemplateConfig,omitempty" tf:"launch_template_config,omitempty"` + + // Nested argument containing On-Demand configurations. Defined below. + OnDemandOptions *OnDemandOptionsInitParameters `json:"onDemandOptions,omitempty" tf:"on_demand_options,omitempty"` + + // Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain. + ReplaceUnhealthyInstances *bool `json:"replaceUnhealthyInstances,omitempty" tf:"replace_unhealthy_instances,omitempty"` + + // Nested argument containing Spot configurations. Defined below. + SpotOptions *FleetSpotOptionsInitParameters `json:"spotOptions,omitempty" tf:"spot_options,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Nested argument containing target capacity configurations. Defined below. + TargetCapacitySpecification *TargetCapacitySpecificationInitParameters `json:"targetCapacitySpecification,omitempty" tf:"target_capacity_specification,omitempty"` + + // Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false. + TerminateInstances *bool `json:"terminateInstances,omitempty" tf:"terminate_instances,omitempty"` + + // Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false. + TerminateInstancesWithExpiration *bool `json:"terminateInstancesWithExpiration,omitempty" tf:"terminate_instances_with_expiration,omitempty"` + + // The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. + ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"` + + // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it. + ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"` +} + +type FleetInstanceSetInitParameters struct { + + // The IDs of the instances. + InstanceIds []*string `json:"instanceIds,omitempty" tf:"instance_ids,omitempty"` + + // Instance type. + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Indicates if the instance that was launched is a Spot Instance or On-Demand Instance. + Lifecycle *string `json:"lifecycle,omitempty" tf:"lifecycle,omitempty"` + + // The value is Windows for Windows instances. Otherwise, the value is blank. + Platform *string `json:"platform,omitempty" tf:"platform,omitempty"` +} + +type FleetInstanceSetObservation struct { + + // The IDs of the instances. + InstanceIds []*string `json:"instanceIds,omitempty" tf:"instance_ids,omitempty"` + + // Instance type. + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Indicates if the instance that was launched is a Spot Instance or On-Demand Instance. + Lifecycle *string `json:"lifecycle,omitempty" tf:"lifecycle,omitempty"` + + // The value is Windows for Windows instances. Otherwise, the value is blank. + Platform *string `json:"platform,omitempty" tf:"platform,omitempty"` +} + +type FleetInstanceSetParameters struct { + + // The IDs of the instances. + // +kubebuilder:validation:Optional + InstanceIds []*string `json:"instanceIds,omitempty" tf:"instance_ids,omitempty"` + + // Instance type. + // +kubebuilder:validation:Optional + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Indicates if the instance that was launched is a Spot Instance or On-Demand Instance. + // +kubebuilder:validation:Optional + Lifecycle *string `json:"lifecycle,omitempty" tf:"lifecycle,omitempty"` + + // The value is Windows for Windows instances. Otherwise, the value is blank. + // +kubebuilder:validation:Optional + Platform *string `json:"platform,omitempty" tf:"platform,omitempty"` +} + +type FleetLaunchTemplateConfigInitParameters struct { + + // Nested argument containing EC2 Launch Template to use. Defined below. + LaunchTemplateSpecification *LaunchTemplateConfigLaunchTemplateSpecificationInitParameters `json:"launchTemplateSpecification,omitempty" tf:"launch_template_specification,omitempty"` + + // Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below. + Override []OverrideInitParameters `json:"override,omitempty" tf:"override,omitempty"` +} + +type FleetLaunchTemplateConfigObservation struct { + + // Nested argument containing EC2 Launch Template to use. Defined below. + LaunchTemplateSpecification *LaunchTemplateConfigLaunchTemplateSpecificationObservation `json:"launchTemplateSpecification,omitempty" tf:"launch_template_specification,omitempty"` + + // Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below. + Override []OverrideObservation `json:"override,omitempty" tf:"override,omitempty"` +} + +type FleetLaunchTemplateConfigParameters struct { + + // Nested argument containing EC2 Launch Template to use. Defined below. + // +kubebuilder:validation:Optional + LaunchTemplateSpecification *LaunchTemplateConfigLaunchTemplateSpecificationParameters `json:"launchTemplateSpecification,omitempty" tf:"launch_template_specification,omitempty"` + + // Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below. + // +kubebuilder:validation:Optional + Override []OverrideParameters `json:"override,omitempty" tf:"override,omitempty"` +} + +type FleetObservation struct { + + // The ARN of the fleet + Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` + + // Reserved. + Context *string `json:"context,omitempty" tf:"context,omitempty"` + + // Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain. + ExcessCapacityTerminationPolicy *string `json:"excessCapacityTerminationPolicy,omitempty" tf:"excess_capacity_termination_policy,omitempty"` + + // Information about the instances that were launched by the fleet. Available only when type is set to instant. + FleetInstanceSet []FleetInstanceSetObservation `json:"fleetInstanceSet,omitempty" tf:"fleet_instance_set,omitempty"` + + // The state of the EC2 Fleet. + FleetState *string `json:"fleetState,omitempty" tf:"fleet_state,omitempty"` + + // The number of units fulfilled by this request compared to the set target capacity. + FulfilledCapacity *float64 `json:"fulfilledCapacity,omitempty" tf:"fulfilled_capacity,omitempty"` + + // The number of units fulfilled by this request compared to the set target On-Demand capacity. + FulfilledOnDemandCapacity *float64 `json:"fulfilledOnDemandCapacity,omitempty" tf:"fulfilled_on_demand_capacity,omitempty"` + + // Fleet identifier + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Nested argument containing EC2 Launch Template configurations. Defined below. + LaunchTemplateConfig []FleetLaunchTemplateConfigObservation `json:"launchTemplateConfig,omitempty" tf:"launch_template_config,omitempty"` + + // Nested argument containing On-Demand configurations. Defined below. + OnDemandOptions *OnDemandOptionsObservation `json:"onDemandOptions,omitempty" tf:"on_demand_options,omitempty"` + + // Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain. + ReplaceUnhealthyInstances *bool `json:"replaceUnhealthyInstances,omitempty" tf:"replace_unhealthy_instances,omitempty"` + + // Nested argument containing Spot configurations. Defined below. + SpotOptions *FleetSpotOptionsObservation `json:"spotOptions,omitempty" tf:"spot_options,omitempty"` + + // Key-value map of resource tags. + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. + // +mapType=granular + TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` + + // Nested argument containing target capacity configurations. Defined below. + TargetCapacitySpecification *TargetCapacitySpecificationObservation `json:"targetCapacitySpecification,omitempty" tf:"target_capacity_specification,omitempty"` + + // Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false. + TerminateInstances *bool `json:"terminateInstances,omitempty" tf:"terminate_instances,omitempty"` + + // Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false. + TerminateInstancesWithExpiration *bool `json:"terminateInstancesWithExpiration,omitempty" tf:"terminate_instances_with_expiration,omitempty"` + + // The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain. + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. + ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"` + + // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it. + ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"` +} + +type FleetParameters struct { + + // Reserved. + // +kubebuilder:validation:Optional + Context *string `json:"context,omitempty" tf:"context,omitempty"` + + // Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain. + // +kubebuilder:validation:Optional + ExcessCapacityTerminationPolicy *string `json:"excessCapacityTerminationPolicy,omitempty" tf:"excess_capacity_termination_policy,omitempty"` + + // Information about the instances that were launched by the fleet. Available only when type is set to instant. + // +kubebuilder:validation:Optional + FleetInstanceSet []FleetInstanceSetParameters `json:"fleetInstanceSet,omitempty" tf:"fleet_instance_set,omitempty"` + + // The state of the EC2 Fleet. + // +kubebuilder:validation:Optional + FleetState *string `json:"fleetState,omitempty" tf:"fleet_state,omitempty"` + + // The number of units fulfilled by this request compared to the set target capacity. + // +kubebuilder:validation:Optional + FulfilledCapacity *float64 `json:"fulfilledCapacity,omitempty" tf:"fulfilled_capacity,omitempty"` + + // The number of units fulfilled by this request compared to the set target On-Demand capacity. + // +kubebuilder:validation:Optional + FulfilledOnDemandCapacity *float64 `json:"fulfilledOnDemandCapacity,omitempty" tf:"fulfilled_on_demand_capacity,omitempty"` + + // Nested argument containing EC2 Launch Template configurations. Defined below. + // +kubebuilder:validation:Optional + LaunchTemplateConfig []FleetLaunchTemplateConfigParameters `json:"launchTemplateConfig,omitempty" tf:"launch_template_config,omitempty"` + + // Nested argument containing On-Demand configurations. Defined below. + // +kubebuilder:validation:Optional + OnDemandOptions *OnDemandOptionsParameters `json:"onDemandOptions,omitempty" tf:"on_demand_options,omitempty"` + + // Region is the region you'd like your resource to be created in. + // +upjet:crd:field:TFTag=- + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"-"` + + // Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain. + // +kubebuilder:validation:Optional + ReplaceUnhealthyInstances *bool `json:"replaceUnhealthyInstances,omitempty" tf:"replace_unhealthy_instances,omitempty"` + + // Nested argument containing Spot configurations. Defined below. + // +kubebuilder:validation:Optional + SpotOptions *FleetSpotOptionsParameters `json:"spotOptions,omitempty" tf:"spot_options,omitempty"` + + // Key-value map of resource tags. + // +kubebuilder:validation:Optional + // +mapType=granular + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // Nested argument containing target capacity configurations. Defined below. + // +kubebuilder:validation:Optional + TargetCapacitySpecification *TargetCapacitySpecificationParameters `json:"targetCapacitySpecification,omitempty" tf:"target_capacity_specification,omitempty"` + + // Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false. + // +kubebuilder:validation:Optional + TerminateInstances *bool `json:"terminateInstances,omitempty" tf:"terminate_instances,omitempty"` + + // Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false. + // +kubebuilder:validation:Optional + TerminateInstancesWithExpiration *bool `json:"terminateInstancesWithExpiration,omitempty" tf:"terminate_instances_with_expiration,omitempty"` + + // The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain. + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. + // +kubebuilder:validation:Optional + ValidFrom *string `json:"validFrom,omitempty" tf:"valid_from,omitempty"` + + // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it. + // +kubebuilder:validation:Optional + ValidUntil *string `json:"validUntil,omitempty" tf:"valid_until,omitempty"` +} + +type FleetSpotOptionsInitParameters struct { + + // How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice. + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate. + InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"` + + // Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1. + InstancePoolsToUseCount *float64 `json:"instancePoolsToUseCount,omitempty" tf:"instance_pools_to_use_count,omitempty"` + + // Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below. + MaintenanceStrategies *MaintenanceStrategiesInitParameters `json:"maintenanceStrategies,omitempty" tf:"maintenance_strategies,omitempty"` +} + +type FleetSpotOptionsObservation struct { + + // How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice. + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate. + InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"` + + // Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1. + InstancePoolsToUseCount *float64 `json:"instancePoolsToUseCount,omitempty" tf:"instance_pools_to_use_count,omitempty"` + + // Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below. + MaintenanceStrategies *MaintenanceStrategiesObservation `json:"maintenanceStrategies,omitempty" tf:"maintenance_strategies,omitempty"` +} + +type FleetSpotOptionsParameters struct { + + // How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice. + // +kubebuilder:validation:Optional + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate. + // +kubebuilder:validation:Optional + InstanceInterruptionBehavior *string `json:"instanceInterruptionBehavior,omitempty" tf:"instance_interruption_behavior,omitempty"` + + // Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1. + // +kubebuilder:validation:Optional + InstancePoolsToUseCount *float64 `json:"instancePoolsToUseCount,omitempty" tf:"instance_pools_to_use_count,omitempty"` + + // Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below. + // +kubebuilder:validation:Optional + MaintenanceStrategies *MaintenanceStrategiesParameters `json:"maintenanceStrategies,omitempty" tf:"maintenance_strategies,omitempty"` +} + +type LaunchTemplateConfigLaunchTemplateSpecificationInitParameters struct { + + // The ID of the launch template. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDRef *v1.Reference `json:"launchTemplateIdRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDSelector *v1.Selector `json:"launchTemplateIdSelector,omitempty" tf:"-"` + + // The name of the launch template. + LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"` + + // The launch template version number, $Latest, or $Default. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("latest_version",true) + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"` +} + +type LaunchTemplateConfigLaunchTemplateSpecificationObservation struct { + + // The ID of the launch template. + LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"` + + // The name of the launch template. + LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"` + + // The launch template version number, $Latest, or $Default. + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type LaunchTemplateConfigLaunchTemplateSpecificationParameters struct { + + // The ID of the launch template. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() + // +kubebuilder:validation:Optional + LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDRef *v1.Reference `json:"launchTemplateIdRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate launchTemplateId. + // +kubebuilder:validation:Optional + LaunchTemplateIDSelector *v1.Selector `json:"launchTemplateIdSelector,omitempty" tf:"-"` + + // The name of the launch template. + // +kubebuilder:validation:Optional + LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"` + + // The launch template version number, $Latest, or $Default. + // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.LaunchTemplate + // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("latest_version",true) + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + // Reference to a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionRef *v1.Reference `json:"versionRef,omitempty" tf:"-"` + + // Selector for a LaunchTemplate in ec2 to populate version. + // +kubebuilder:validation:Optional + VersionSelector *v1.Selector `json:"versionSelector,omitempty" tf:"-"` +} + +type MaintenanceStrategiesCapacityRebalanceInitParameters struct { + + // The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch. + ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"` + + TerminationDelay *float64 `json:"terminationDelay,omitempty" tf:"termination_delay,omitempty"` +} + +type MaintenanceStrategiesCapacityRebalanceObservation struct { + + // The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch. + ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"` + + TerminationDelay *float64 `json:"terminationDelay,omitempty" tf:"termination_delay,omitempty"` +} + +type MaintenanceStrategiesCapacityRebalanceParameters struct { + + // The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch. + // +kubebuilder:validation:Optional + ReplacementStrategy *string `json:"replacementStrategy,omitempty" tf:"replacement_strategy,omitempty"` + + // +kubebuilder:validation:Optional + TerminationDelay *float64 `json:"terminationDelay,omitempty" tf:"termination_delay,omitempty"` +} + +type MaintenanceStrategiesInitParameters struct { + + // Nested argument containing the capacity rebalance for your fleet request. Defined below. + CapacityRebalance *MaintenanceStrategiesCapacityRebalanceInitParameters `json:"capacityRebalance,omitempty" tf:"capacity_rebalance,omitempty"` +} + +type MaintenanceStrategiesObservation struct { + + // Nested argument containing the capacity rebalance for your fleet request. Defined below. + CapacityRebalance *MaintenanceStrategiesCapacityRebalanceObservation `json:"capacityRebalance,omitempty" tf:"capacity_rebalance,omitempty"` +} + +type MaintenanceStrategiesParameters struct { + + // Nested argument containing the capacity rebalance for your fleet request. Defined below. + // +kubebuilder:validation:Optional + CapacityRebalance *MaintenanceStrategiesCapacityRebalanceParameters `json:"capacityRebalance,omitempty" tf:"capacity_rebalance,omitempty"` +} + +type OnDemandOptionsInitParameters struct { + + // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // The maximum amount per hour for On-Demand Instances that you're willing to pay. + MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` + + // The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + // If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + MinTargetCapacity *float64 `json:"minTargetCapacity,omitempty" tf:"min_target_capacity,omitempty"` + + // Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant. + SingleAvailabilityZone *bool `json:"singleAvailabilityZone,omitempty" tf:"single_availability_zone,omitempty"` + + // Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant. + SingleInstanceType *bool `json:"singleInstanceType,omitempty" tf:"single_instance_type,omitempty"` +} + +type OnDemandOptionsObservation struct { + + // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // The maximum amount per hour for On-Demand Instances that you're willing to pay. + MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` + + // The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + // If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + MinTargetCapacity *float64 `json:"minTargetCapacity,omitempty" tf:"min_target_capacity,omitempty"` + + // Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant. + SingleAvailabilityZone *bool `json:"singleAvailabilityZone,omitempty" tf:"single_availability_zone,omitempty"` + + // Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant. + SingleInstanceType *bool `json:"singleInstanceType,omitempty" tf:"single_instance_type,omitempty"` +} + +type OnDemandOptionsParameters struct { + + // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. + // +kubebuilder:validation:Optional + AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + + // The maximum amount per hour for On-Demand Instances that you're willing to pay. + // +kubebuilder:validation:Optional + MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` + + // The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + // If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + // +kubebuilder:validation:Optional + MinTargetCapacity *float64 `json:"minTargetCapacity,omitempty" tf:"min_target_capacity,omitempty"` + + // Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant. + // +kubebuilder:validation:Optional + SingleAvailabilityZone *bool `json:"singleAvailabilityZone,omitempty" tf:"single_availability_zone,omitempty"` + + // Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant. + // +kubebuilder:validation:Optional + SingleInstanceType *bool `json:"singleInstanceType,omitempty" tf:"single_instance_type,omitempty"` +} + +type OverrideInitParameters struct { + + // Availability Zone in which to launch the instances. + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // Override the instance type in the Launch Template with instance types that satisfy the requirements. + InstanceRequirements *OverrideInstanceRequirementsInitParameters `json:"instanceRequirements,omitempty" tf:"instance_requirements,omitempty"` + + // Instance type. + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Maximum price per unit hour that you are willing to pay for a Spot Instance. + MaxPrice *string `json:"maxPrice,omitempty" tf:"max_price,omitempty"` + + // Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0. + Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // ID of the subnet in which to launch the instances. + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Number of units provided by the specified instance type. + WeightedCapacity *float64 `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorCountInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorCountObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorCountParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsInitParameters struct { + + // Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits. + AcceleratorCount *OverrideInstanceRequirementsAcceleratorCountInitParameters `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"` + + // List of accelerator manufacturer names. Default is any manufacturer. + // +listType=set + AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"` + + // List of accelerator names. Default is any acclerator. + // +listType=set + AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"` + + // Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. + AcceleratorTotalMemoryMib *OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"` + + // The accelerator types that must be on the instance type. Default is any accelerator type. + // +listType=set + AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"` + + // The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type. + // +listType=set + AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"` + + // Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded. + BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"` + + // Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. + BaselineEBSBandwidthMbps *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"` + + // Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded. + BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"` + + // The CPU manufacturers to include. Default is any manufacturer. + // ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + // +listType=set + CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"` + + // The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. + // +listType=set + ExcludedInstanceTypes []*string `json:"excludedInstanceTypes,omitempty" tf:"excluded_instance_types,omitempty"` + + // Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types. + // +listType=set + InstanceGenerations []*string `json:"instanceGenerations,omitempty" tf:"instance_generations,omitempty"` + + // Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included. + LocalStorage *string `json:"localStorage,omitempty" tf:"local_storage,omitempty"` + + // List of local storage type names. Valid values are hdd and ssd. Default any storage type. + // +listType=set + LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. + MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` + + // The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits. + MemoryMib *OverrideInstanceRequirementsMemoryMibInitParameters `json:"memoryMib,omitempty" tf:"memory_mib,omitempty"` + + // The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum. + NetworkBandwidthGbps *OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters `json:"networkBandwidthGbps,omitempty" tf:"network_bandwidth_gbps,omitempty"` + + // Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. + NetworkInterfaceCount *OverrideInstanceRequirementsNetworkInterfaceCountInitParameters `json:"networkInterfaceCount,omitempty" tf:"network_interface_count,omitempty"` + + // The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. + OnDemandMaxPricePercentageOverLowestPrice *float64 `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty" tf:"on_demand_max_price_percentage_over_lowest_price,omitempty"` + + // Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false. + RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` + + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` + + // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. + TotalLocalStorageGb *OverrideInstanceRequirementsTotalLocalStorageGbInitParameters `json:"totalLocalStorageGb,omitempty" tf:"total_local_storage_gb,omitempty"` + + // Block describing the minimum and maximum number of vCPUs. Default is no maximum. + VcpuCount *OverrideInstanceRequirementsVcpuCountInitParameters `json:"vcpuCount,omitempty" tf:"vcpu_count,omitempty"` +} + +type OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsMemoryGibPerVcpuObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsMemoryGibPerVcpuParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsMemoryMibInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsMemoryMibObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsMemoryMibParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkBandwidthGbpsObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkBandwidthGbpsParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkInterfaceCountInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkInterfaceCountObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsNetworkInterfaceCountParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsObservation struct { + + // Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits. + AcceleratorCount *OverrideInstanceRequirementsAcceleratorCountObservation `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"` + + // List of accelerator manufacturer names. Default is any manufacturer. + // +listType=set + AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"` + + // List of accelerator names. Default is any acclerator. + // +listType=set + AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"` + + // Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. + AcceleratorTotalMemoryMib *OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"` + + // The accelerator types that must be on the instance type. Default is any accelerator type. + // +listType=set + AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"` + + // The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type. + // +listType=set + AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"` + + // Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded. + BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"` + + // Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. + BaselineEBSBandwidthMbps *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"` + + // Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded. + BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"` + + // The CPU manufacturers to include. Default is any manufacturer. + // ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + // +listType=set + CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"` + + // The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. + // +listType=set + ExcludedInstanceTypes []*string `json:"excludedInstanceTypes,omitempty" tf:"excluded_instance_types,omitempty"` + + // Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types. + // +listType=set + InstanceGenerations []*string `json:"instanceGenerations,omitempty" tf:"instance_generations,omitempty"` + + // Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included. + LocalStorage *string `json:"localStorage,omitempty" tf:"local_storage,omitempty"` + + // List of local storage type names. Valid values are hdd and ssd. Default any storage type. + // +listType=set + LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. + MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuObservation `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` + + // The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits. + MemoryMib *OverrideInstanceRequirementsMemoryMibObservation `json:"memoryMib,omitempty" tf:"memory_mib,omitempty"` + + // The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum. + NetworkBandwidthGbps *OverrideInstanceRequirementsNetworkBandwidthGbpsObservation `json:"networkBandwidthGbps,omitempty" tf:"network_bandwidth_gbps,omitempty"` + + // Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. + NetworkInterfaceCount *OverrideInstanceRequirementsNetworkInterfaceCountObservation `json:"networkInterfaceCount,omitempty" tf:"network_interface_count,omitempty"` + + // The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. + OnDemandMaxPricePercentageOverLowestPrice *float64 `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty" tf:"on_demand_max_price_percentage_over_lowest_price,omitempty"` + + // Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false. + RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` + + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` + + // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. + TotalLocalStorageGb *OverrideInstanceRequirementsTotalLocalStorageGbObservation `json:"totalLocalStorageGb,omitempty" tf:"total_local_storage_gb,omitempty"` + + // Block describing the minimum and maximum number of vCPUs. Default is no maximum. + VcpuCount *OverrideInstanceRequirementsVcpuCountObservation `json:"vcpuCount,omitempty" tf:"vcpu_count,omitempty"` +} + +type OverrideInstanceRequirementsParameters struct { + + // Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits. + // +kubebuilder:validation:Optional + AcceleratorCount *OverrideInstanceRequirementsAcceleratorCountParameters `json:"acceleratorCount,omitempty" tf:"accelerator_count,omitempty"` + + // List of accelerator manufacturer names. Default is any manufacturer. + // +kubebuilder:validation:Optional + // +listType=set + AcceleratorManufacturers []*string `json:"acceleratorManufacturers,omitempty" tf:"accelerator_manufacturers,omitempty"` + + // List of accelerator names. Default is any acclerator. + // +kubebuilder:validation:Optional + // +listType=set + AcceleratorNames []*string `json:"acceleratorNames,omitempty" tf:"accelerator_names,omitempty"` + + // Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. + // +kubebuilder:validation:Optional + AcceleratorTotalMemoryMib *OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters `json:"acceleratorTotalMemoryMib,omitempty" tf:"accelerator_total_memory_mib,omitempty"` + + // The accelerator types that must be on the instance type. Default is any accelerator type. + // +kubebuilder:validation:Optional + // +listType=set + AcceleratorTypes []*string `json:"acceleratorTypes,omitempty" tf:"accelerator_types,omitempty"` + + // The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type. + // +kubebuilder:validation:Optional + // +listType=set + AllowedInstanceTypes []*string `json:"allowedInstanceTypes,omitempty" tf:"allowed_instance_types,omitempty"` + + // Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded. + // +kubebuilder:validation:Optional + BareMetal *string `json:"bareMetal,omitempty" tf:"bare_metal,omitempty"` + + // Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. + // +kubebuilder:validation:Optional + BaselineEBSBandwidthMbps *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters `json:"baselineEbsBandwidthMbps,omitempty" tf:"baseline_ebs_bandwidth_mbps,omitempty"` + + // Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded. + // +kubebuilder:validation:Optional + BurstablePerformance *string `json:"burstablePerformance,omitempty" tf:"burstable_performance,omitempty"` + + // The CPU manufacturers to include. Default is any manufacturer. + // ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + // +kubebuilder:validation:Optional + // +listType=set + CPUManufacturers []*string `json:"cpuManufacturers,omitempty" tf:"cpu_manufacturers,omitempty"` + + // The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: c5*, m5a.*, r*, *3*. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. + // +kubebuilder:validation:Optional + // +listType=set + ExcludedInstanceTypes []*string `json:"excludedInstanceTypes,omitempty" tf:"excluded_instance_types,omitempty"` + + // Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types. + // +kubebuilder:validation:Optional + // +listType=set + InstanceGenerations []*string `json:"instanceGenerations,omitempty" tf:"instance_generations,omitempty"` + + // Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included. + // +kubebuilder:validation:Optional + LocalStorage *string `json:"localStorage,omitempty" tf:"local_storage,omitempty"` + + // List of local storage type names. Valid values are hdd and ssd. Default any storage type. + // +kubebuilder:validation:Optional + // +listType=set + LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. + // +kubebuilder:validation:Optional + MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuParameters `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` + + // The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits. + // +kubebuilder:validation:Optional + MemoryMib *OverrideInstanceRequirementsMemoryMibParameters `json:"memoryMib" tf:"memory_mib,omitempty"` + + // The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum. + // +kubebuilder:validation:Optional + NetworkBandwidthGbps *OverrideInstanceRequirementsNetworkBandwidthGbpsParameters `json:"networkBandwidthGbps,omitempty" tf:"network_bandwidth_gbps,omitempty"` + + // Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. + // +kubebuilder:validation:Optional + NetworkInterfaceCount *OverrideInstanceRequirementsNetworkInterfaceCountParameters `json:"networkInterfaceCount,omitempty" tf:"network_interface_count,omitempty"` + + // The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. + // +kubebuilder:validation:Optional + OnDemandMaxPricePercentageOverLowestPrice *float64 `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty" tf:"on_demand_max_price_percentage_over_lowest_price,omitempty"` + + // Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false. + // +kubebuilder:validation:Optional + RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` + + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // +kubebuilder:validation:Optional + SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` + + // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. + // +kubebuilder:validation:Optional + TotalLocalStorageGb *OverrideInstanceRequirementsTotalLocalStorageGbParameters `json:"totalLocalStorageGb,omitempty" tf:"total_local_storage_gb,omitempty"` + + // Block describing the minimum and maximum number of vCPUs. Default is no maximum. + // +kubebuilder:validation:Optional + VcpuCount *OverrideInstanceRequirementsVcpuCountParameters `json:"vcpuCount" tf:"vcpu_count,omitempty"` +} + +type OverrideInstanceRequirementsTotalLocalStorageGbInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsTotalLocalStorageGbObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsTotalLocalStorageGbParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsVcpuCountInitParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsVcpuCountObservation struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type OverrideInstanceRequirementsVcpuCountParameters struct { + + // The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // The minimum number of vCPUs. To specify no minimum limit, specify 0. + // +kubebuilder:validation:Optional + Min *float64 `json:"min" tf:"min,omitempty"` +} + +type OverrideObservation struct { + + // Availability Zone in which to launch the instances. + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // Override the instance type in the Launch Template with instance types that satisfy the requirements. + InstanceRequirements *OverrideInstanceRequirementsObservation `json:"instanceRequirements,omitempty" tf:"instance_requirements,omitempty"` + + // Instance type. + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Maximum price per unit hour that you are willing to pay for a Spot Instance. + MaxPrice *string `json:"maxPrice,omitempty" tf:"max_price,omitempty"` + + // Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0. + Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // ID of the subnet in which to launch the instances. + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Number of units provided by the specified instance type. + WeightedCapacity *float64 `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"` +} + +type OverrideParameters struct { + + // Availability Zone in which to launch the instances. + // +kubebuilder:validation:Optional + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // Override the instance type in the Launch Template with instance types that satisfy the requirements. + // +kubebuilder:validation:Optional + InstanceRequirements *OverrideInstanceRequirementsParameters `json:"instanceRequirements,omitempty" tf:"instance_requirements,omitempty"` + + // Instance type. + // +kubebuilder:validation:Optional + InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"` + + // Maximum price per unit hour that you are willing to pay for a Spot Instance. + // +kubebuilder:validation:Optional + MaxPrice *string `json:"maxPrice,omitempty" tf:"max_price,omitempty"` + + // Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0. + // +kubebuilder:validation:Optional + Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // ID of the subnet in which to launch the instances. + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // Number of units provided by the specified instance type. + // +kubebuilder:validation:Optional + WeightedCapacity *float64 `json:"weightedCapacity,omitempty" tf:"weighted_capacity,omitempty"` +} + +type TargetCapacitySpecificationInitParameters struct { + + // Default target capacity type. Valid values: on-demand, spot. + DefaultTargetCapacityType *string `json:"defaultTargetCapacityType,omitempty" tf:"default_target_capacity_type,omitempty"` + + // The number of On-Demand units to request. + OnDemandTargetCapacity *float64 `json:"onDemandTargetCapacity,omitempty" tf:"on_demand_target_capacity,omitempty"` + + // The number of Spot units to request. + SpotTargetCapacity *float64 `json:"spotTargetCapacity,omitempty" tf:"spot_target_capacity,omitempty"` + + // The unit for the target capacity. + // If you specify target_capacity_unit_type, instance_requirements must be specified. + TargetCapacityUnitType *string `json:"targetCapacityUnitType,omitempty" tf:"target_capacity_unit_type,omitempty"` + + // The number of units to request, filled using default_target_capacity_type. + TotalTargetCapacity *float64 `json:"totalTargetCapacity,omitempty" tf:"total_target_capacity,omitempty"` +} + +type TargetCapacitySpecificationObservation struct { + + // Default target capacity type. Valid values: on-demand, spot. + DefaultTargetCapacityType *string `json:"defaultTargetCapacityType,omitempty" tf:"default_target_capacity_type,omitempty"` + + // The number of On-Demand units to request. + OnDemandTargetCapacity *float64 `json:"onDemandTargetCapacity,omitempty" tf:"on_demand_target_capacity,omitempty"` + + // The number of Spot units to request. + SpotTargetCapacity *float64 `json:"spotTargetCapacity,omitempty" tf:"spot_target_capacity,omitempty"` + + // The unit for the target capacity. + // If you specify target_capacity_unit_type, instance_requirements must be specified. + TargetCapacityUnitType *string `json:"targetCapacityUnitType,omitempty" tf:"target_capacity_unit_type,omitempty"` + + // The number of units to request, filled using default_target_capacity_type. + TotalTargetCapacity *float64 `json:"totalTargetCapacity,omitempty" tf:"total_target_capacity,omitempty"` +} + +type TargetCapacitySpecificationParameters struct { + + // Default target capacity type. Valid values: on-demand, spot. + // +kubebuilder:validation:Optional + DefaultTargetCapacityType *string `json:"defaultTargetCapacityType" tf:"default_target_capacity_type,omitempty"` + + // The number of On-Demand units to request. + // +kubebuilder:validation:Optional + OnDemandTargetCapacity *float64 `json:"onDemandTargetCapacity,omitempty" tf:"on_demand_target_capacity,omitempty"` + + // The number of Spot units to request. + // +kubebuilder:validation:Optional + SpotTargetCapacity *float64 `json:"spotTargetCapacity,omitempty" tf:"spot_target_capacity,omitempty"` + + // The unit for the target capacity. + // If you specify target_capacity_unit_type, instance_requirements must be specified. + // +kubebuilder:validation:Optional + TargetCapacityUnitType *string `json:"targetCapacityUnitType,omitempty" tf:"target_capacity_unit_type,omitempty"` + + // The number of units to request, filled using default_target_capacity_type. + // +kubebuilder:validation:Optional + TotalTargetCapacity *float64 `json:"totalTargetCapacity" tf:"total_target_capacity,omitempty"` +} + +// FleetSpec defines the desired state of Fleet +type FleetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FleetParameters `json:"forProvider"` + // THIS IS A BETA FIELD. It will be honored + // unless the Management Policies feature flag is disabled. + // InitProvider holds the same fields as ForProvider, with the exception + // of Identifier and other resource reference fields. The fields that are + // in InitProvider are merged into ForProvider when the resource is created. + // The same fields are also added to the terraform ignore_changes hook, to + // avoid updating them after creation. This is useful for fields that are + // required on creation, but we do not desire to update them after creation, + // for example because of an external controller is managing them, like an + // autoscaler. + InitProvider FleetInitParameters `json:"initProvider,omitempty"` +} + +// FleetStatus defines the observed state of Fleet. +type FleetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FleetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion + +// Fleet is the Schema for the Fleets API. Provides a resource to manage EC2 Fleets +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws} +type Fleet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.launchTemplateConfig) || (has(self.initProvider) && has(self.initProvider.launchTemplateConfig))",message="spec.forProvider.launchTemplateConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetCapacitySpecification) || (has(self.initProvider) && has(self.initProvider.targetCapacitySpecification))",message="spec.forProvider.targetCapacitySpecification is a required parameter" + Spec FleetSpec `json:"spec"` + Status FleetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FleetList contains a list of Fleets +type FleetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Fleet `json:"items"` +} + +// Repository type metadata. +var ( + Fleet_Kind = "Fleet" + Fleet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Fleet_Kind}.String() + Fleet_KindAPIVersion = Fleet_Kind + "." + CRDGroupVersion.String() + Fleet_GroupVersionKind = CRDGroupVersion.WithKind(Fleet_Kind) +) + +func init() { + SchemeBuilder.Register(&Fleet{}, &FleetList{}) +} diff --git a/apis/ec2/v1beta1/zz_generated.conversion_hubs.go b/apis/ec2/v1beta1/zz_generated.conversion_hubs.go index 590ba08bd9..5aa08bf17c 100755 --- a/apis/ec2/v1beta1/zz_generated.conversion_hubs.go +++ b/apis/ec2/v1beta1/zz_generated.conversion_hubs.go @@ -69,6 +69,9 @@ func (tr *EIP) Hub() {} // Hub marks this type as a conversion hub. func (tr *EIPAssociation) Hub() {} +// Hub marks this type as a conversion hub. +func (tr *Fleet) Hub() {} + // Hub marks this type as a conversion hub. func (tr *Host) Hub() {} diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index b7fff46d05..4d00cd5072 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -11771,7 +11771,7 @@ func (in *ExplanationsParameters) DeepCopy() *ExplanationsParameters { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLog) DeepCopyInto(out *FlowLog) { +func (in *Fleet) DeepCopyInto(out *Fleet) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -11779,18 +11779,18 @@ func (in *FlowLog) DeepCopyInto(out *FlowLog) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLog. -func (in *FlowLog) DeepCopy() *FlowLog { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fleet. +func (in *Fleet) DeepCopy() *Fleet { if in == nil { return nil } - out := new(FlowLog) + out := new(Fleet) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *FlowLog) DeepCopyObject() runtime.Object { +func (in *Fleet) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -11798,88 +11798,60 @@ func (in *FlowLog) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogInitParameters) DeepCopyInto(out *FlowLogInitParameters) { +func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { *out = *in - if in.DeliverCrossAccountRole != nil { - in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole + if in.Context != nil { + in, out := &in.Context, &out.Context *out = new(string) **out = **in } - if in.DestinationOptions != nil { - in, out := &in.DestinationOptions, &out.DestinationOptions - *out = make([]DestinationOptionsInitParameters, len(*in)) + if in.ExcessCapacityTerminationPolicy != nil { + in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy + *out = new(string) + **out = **in + } + if in.FleetInstanceSet != nil { + in, out := &in.FleetInstanceSet, &out.FleetInstanceSet + *out = make([]FleetInstanceSetInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EniID != nil { - in, out := &in.EniID, &out.EniID + if in.FleetState != nil { + in, out := &in.FleetState, &out.FleetState *out = new(string) **out = **in } - if in.IAMRoleArn != nil { - in, out := &in.IAMRoleArn, &out.IAMRoleArn - *out = new(string) + if in.FulfilledCapacity != nil { + in, out := &in.FulfilledCapacity, &out.FulfilledCapacity + *out = new(float64) **out = **in } - if in.IAMRoleArnRef != nil { - in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.IAMRoleArnSelector != nil { - in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.LogDestination != nil { - in, out := &in.LogDestination, &out.LogDestination - *out = new(string) + if in.FulfilledOnDemandCapacity != nil { + in, out := &in.FulfilledOnDemandCapacity, &out.FulfilledOnDemandCapacity + *out = new(float64) **out = **in } - if in.LogDestinationRef != nil { - in, out := &in.LogDestinationRef, &out.LogDestinationRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.LaunchTemplateConfig != nil { + in, out := &in.LaunchTemplateConfig, &out.LaunchTemplateConfig + *out = make([]FleetLaunchTemplateConfigInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.LogDestinationSelector != nil { - in, out := &in.LogDestinationSelector, &out.LogDestinationSelector - *out = new(v1.Selector) + if in.OnDemandOptions != nil { + in, out := &in.OnDemandOptions, &out.OnDemandOptions + *out = new(OnDemandOptionsInitParameters) (*in).DeepCopyInto(*out) } - if in.LogDestinationType != nil { - in, out := &in.LogDestinationType, &out.LogDestinationType - *out = new(string) - **out = **in - } - if in.LogFormat != nil { - in, out := &in.LogFormat, &out.LogFormat - *out = new(string) - **out = **in - } - if in.LogGroupName != nil { - in, out := &in.LogGroupName, &out.LogGroupName - *out = new(string) - **out = **in - } - if in.MaxAggregationInterval != nil { - in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval - *out = new(float64) - **out = **in - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) + if in.ReplaceUnhealthyInstances != nil { + in, out := &in.ReplaceUnhealthyInstances, &out.ReplaceUnhealthyInstances + *out = new(bool) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = new(FleetSpotOptionsInitParameters) (*in).DeepCopyInto(*out) } if in.Tags != nil { @@ -11898,297 +11870,349 @@ func (in *FlowLogInitParameters) DeepCopyInto(out *FlowLogInitParameters) { (*out)[key] = outVal } } - if in.TrafficType != nil { - in, out := &in.TrafficType, &out.TrafficType - *out = new(string) + if in.TargetCapacitySpecification != nil { + in, out := &in.TargetCapacitySpecification, &out.TargetCapacitySpecification + *out = new(TargetCapacitySpecificationInitParameters) + (*in).DeepCopyInto(*out) + } + if in.TerminateInstances != nil { + in, out := &in.TerminateInstances, &out.TerminateInstances + *out = new(bool) **out = **in } - if in.TransitGatewayAttachmentID != nil { - in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID - *out = new(string) + if in.TerminateInstancesWithExpiration != nil { + in, out := &in.TerminateInstancesWithExpiration, &out.TerminateInstancesWithExpiration + *out = new(bool) **out = **in } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.ValidFrom != nil { + in, out := &in.ValidFrom, &out.ValidFrom *out = new(string) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogInitParameters. -func (in *FlowLogInitParameters) DeepCopy() *FlowLogInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetInitParameters. +func (in *FleetInitParameters) DeepCopy() *FleetInitParameters { if in == nil { return nil } - out := new(FlowLogInitParameters) + out := new(FleetInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogList) DeepCopyInto(out *FlowLogList) { +func (in *FleetInstanceSetInitParameters) DeepCopyInto(out *FleetInstanceSetInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]FlowLog, len(*in)) + if in.InstanceIds != nil { + in, out := &in.InstanceIds, &out.InstanceIds + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.Lifecycle != nil { + in, out := &in.Lifecycle, &out.Lifecycle + *out = new(string) + **out = **in + } + if in.Platform != nil { + in, out := &in.Platform, &out.Platform + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogList. -func (in *FlowLogList) DeepCopy() *FlowLogList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetInstanceSetInitParameters. +func (in *FleetInstanceSetInitParameters) DeepCopy() *FleetInstanceSetInitParameters { if in == nil { return nil } - out := new(FlowLogList) + out := new(FleetInstanceSetInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *FlowLogList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { +func (in *FleetInstanceSetObservation) DeepCopyInto(out *FleetInstanceSetObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.DeliverCrossAccountRole != nil { - in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole - *out = new(string) - **out = **in - } - if in.DestinationOptions != nil { - in, out := &in.DestinationOptions, &out.DestinationOptions - *out = make([]DestinationOptionsObservation, len(*in)) + if in.InstanceIds != nil { + in, out := &in.InstanceIds, &out.InstanceIds + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.EniID != nil { - in, out := &in.EniID, &out.EniID + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.IAMRoleArn != nil { - in, out := &in.IAMRoleArn, &out.IAMRoleArn + if in.Lifecycle != nil { + in, out := &in.Lifecycle, &out.Lifecycle *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Platform != nil { + in, out := &in.Platform, &out.Platform *out = new(string) **out = **in } - if in.LogDestination != nil { - in, out := &in.LogDestination, &out.LogDestination - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetInstanceSetObservation. +func (in *FleetInstanceSetObservation) DeepCopy() *FleetInstanceSetObservation { + if in == nil { + return nil } - if in.LogDestinationType != nil { - in, out := &in.LogDestinationType, &out.LogDestinationType - *out = new(string) - **out = **in + out := new(FleetInstanceSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FleetInstanceSetParameters) DeepCopyInto(out *FleetInstanceSetParameters) { + *out = *in + if in.InstanceIds != nil { + in, out := &in.InstanceIds, &out.InstanceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.LogFormat != nil { - in, out := &in.LogFormat, &out.LogFormat + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.LogGroupName != nil { - in, out := &in.LogGroupName, &out.LogGroupName + if in.Lifecycle != nil { + in, out := &in.Lifecycle, &out.Lifecycle *out = new(string) **out = **in } - if in.MaxAggregationInterval != nil { - in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval - *out = new(float64) - **out = **in - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.Platform != nil { + in, out := &in.Platform, &out.Platform *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetInstanceSetParameters. +func (in *FleetInstanceSetParameters) DeepCopy() *FleetInstanceSetParameters { + if in == nil { + return nil } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + out := new(FleetInstanceSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FleetLaunchTemplateConfigInitParameters) DeepCopyInto(out *FleetLaunchTemplateConfigInitParameters) { + *out = *in + if in.LaunchTemplateSpecification != nil { + in, out := &in.LaunchTemplateSpecification, &out.LaunchTemplateSpecification + *out = new(LaunchTemplateConfigLaunchTemplateSpecificationInitParameters) + (*in).DeepCopyInto(*out) } - if in.TrafficType != nil { - in, out := &in.TrafficType, &out.TrafficType - *out = new(string) - **out = **in + if in.Override != nil { + in, out := &in.Override, &out.Override + *out = make([]OverrideInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.TransitGatewayAttachmentID != nil { - in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetLaunchTemplateConfigInitParameters. +func (in *FleetLaunchTemplateConfigInitParameters) DeepCopy() *FleetLaunchTemplateConfigInitParameters { + if in == nil { + return nil } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID - *out = new(string) - **out = **in + out := new(FleetLaunchTemplateConfigInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FleetLaunchTemplateConfigObservation) DeepCopyInto(out *FleetLaunchTemplateConfigObservation) { + *out = *in + if in.LaunchTemplateSpecification != nil { + in, out := &in.LaunchTemplateSpecification, &out.LaunchTemplateSpecification + *out = new(LaunchTemplateConfigLaunchTemplateSpecificationObservation) + (*in).DeepCopyInto(*out) } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in + if in.Override != nil { + in, out := &in.Override, &out.Override + *out = make([]OverrideObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogObservation. -func (in *FlowLogObservation) DeepCopy() *FlowLogObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetLaunchTemplateConfigObservation. +func (in *FleetLaunchTemplateConfigObservation) DeepCopy() *FleetLaunchTemplateConfigObservation { if in == nil { return nil } - out := new(FlowLogObservation) + out := new(FleetLaunchTemplateConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { +func (in *FleetLaunchTemplateConfigParameters) DeepCopyInto(out *FleetLaunchTemplateConfigParameters) { *out = *in - if in.DeliverCrossAccountRole != nil { - in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole - *out = new(string) - **out = **in + if in.LaunchTemplateSpecification != nil { + in, out := &in.LaunchTemplateSpecification, &out.LaunchTemplateSpecification + *out = new(LaunchTemplateConfigLaunchTemplateSpecificationParameters) + (*in).DeepCopyInto(*out) } - if in.DestinationOptions != nil { - in, out := &in.DestinationOptions, &out.DestinationOptions - *out = make([]DestinationOptionsParameters, len(*in)) + if in.Override != nil { + in, out := &in.Override, &out.Override + *out = make([]OverrideParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EniID != nil { - in, out := &in.EniID, &out.EniID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetLaunchTemplateConfigParameters. +func (in *FleetLaunchTemplateConfigParameters) DeepCopy() *FleetLaunchTemplateConfigParameters { + if in == nil { + return nil } - if in.IAMRoleArn != nil { - in, out := &in.IAMRoleArn, &out.IAMRoleArn - *out = new(string) - **out = **in + out := new(FleetLaunchTemplateConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FleetList) DeepCopyInto(out *FleetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Fleet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.IAMRoleArnRef != nil { - in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetList. +func (in *FleetList) DeepCopy() *FleetList { + if in == nil { + return nil } - if in.IAMRoleArnSelector != nil { - in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + out := new(FleetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FleetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.LogDestination != nil { - in, out := &in.LogDestination, &out.LogDestination + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FleetObservation) DeepCopyInto(out *FleetObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.LogDestinationRef != nil { - in, out := &in.LogDestinationRef, &out.LogDestinationRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.LogDestinationSelector != nil { - in, out := &in.LogDestinationSelector, &out.LogDestinationSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.LogDestinationType != nil { - in, out := &in.LogDestinationType, &out.LogDestinationType + if in.Context != nil { + in, out := &in.Context, &out.Context *out = new(string) **out = **in } - if in.LogFormat != nil { - in, out := &in.LogFormat, &out.LogFormat + if in.ExcessCapacityTerminationPolicy != nil { + in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy *out = new(string) **out = **in } - if in.LogGroupName != nil { - in, out := &in.LogGroupName, &out.LogGroupName + if in.FleetInstanceSet != nil { + in, out := &in.FleetInstanceSet, &out.FleetInstanceSet + *out = make([]FleetInstanceSetObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FleetState != nil { + in, out := &in.FleetState, &out.FleetState *out = new(string) **out = **in } - if in.MaxAggregationInterval != nil { - in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + if in.FulfilledCapacity != nil { + in, out := &in.FulfilledCapacity, &out.FulfilledCapacity *out = new(float64) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.FulfilledOnDemandCapacity != nil { + in, out := &in.FulfilledOnDemandCapacity, &out.FulfilledOnDemandCapacity + *out = new(float64) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) + if in.LaunchTemplateConfig != nil { + in, out := &in.LaunchTemplateConfig, &out.LaunchTemplateConfig + *out = make([]FleetLaunchTemplateConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OnDemandOptions != nil { + in, out := &in.OnDemandOptions, &out.OnDemandOptions + *out = new(OnDemandOptionsObservation) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) + if in.ReplaceUnhealthyInstances != nil { + in, out := &in.ReplaceUnhealthyInstances, &out.ReplaceUnhealthyInstances + *out = new(bool) + **out = **in + } + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = new(FleetSpotOptionsObservation) (*in).DeepCopyInto(*out) } if in.Tags != nil { @@ -12207,852 +12231,932 @@ func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { (*out)[key] = outVal } } - if in.TrafficType != nil { - in, out := &in.TrafficType, &out.TrafficType - *out = new(string) + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetCapacitySpecification != nil { + in, out := &in.TargetCapacitySpecification, &out.TargetCapacitySpecification + *out = new(TargetCapacitySpecificationObservation) + (*in).DeepCopyInto(*out) + } + if in.TerminateInstances != nil { + in, out := &in.TerminateInstances, &out.TerminateInstances + *out = new(bool) **out = **in } - if in.TransitGatewayAttachmentID != nil { - in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID - *out = new(string) + if in.TerminateInstancesWithExpiration != nil { + in, out := &in.TerminateInstancesWithExpiration, &out.TerminateInstancesWithExpiration + *out = new(bool) **out = **in } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.ValidFrom != nil { + in, out := &in.ValidFrom, &out.ValidFrom *out = new(string) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogParameters. -func (in *FlowLogParameters) DeepCopy() *FlowLogParameters { - if in == nil { - return nil + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil + *out = new(string) + **out = **in } - out := new(FlowLogParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogSpec) DeepCopyInto(out *FlowLogSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogSpec. -func (in *FlowLogSpec) DeepCopy() *FlowLogSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetObservation. +func (in *FleetObservation) DeepCopy() *FleetObservation { if in == nil { return nil } - out := new(FlowLogSpec) + out := new(FleetObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FlowLogStatus) DeepCopyInto(out *FlowLogStatus) { +func (in *FleetParameters) DeepCopyInto(out *FleetParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogStatus. -func (in *FlowLogStatus) DeepCopy() *FlowLogStatus { - if in == nil { - return nil + if in.Context != nil { + in, out := &in.Context, &out.Context + *out = new(string) + **out = **in } - out := new(FlowLogStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsACLRuleInitParameters) DeepCopyInto(out *ForwardPathComponentsACLRuleInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleInitParameters. -func (in *ForwardPathComponentsACLRuleInitParameters) DeepCopy() *ForwardPathComponentsACLRuleInitParameters { - if in == nil { - return nil + if in.ExcessCapacityTerminationPolicy != nil { + in, out := &in.ExcessCapacityTerminationPolicy, &out.ExcessCapacityTerminationPolicy + *out = new(string) + **out = **in } - out := new(ForwardPathComponentsACLRuleInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsACLRuleObservation) DeepCopyInto(out *ForwardPathComponentsACLRuleObservation) { - *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.FleetInstanceSet != nil { + in, out := &in.FleetInstanceSet, &out.FleetInstanceSet + *out = make([]FleetInstanceSetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FleetState != nil { + in, out := &in.FleetState, &out.FleetState *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = new(bool) + if in.FulfilledCapacity != nil { + in, out := &in.FulfilledCapacity, &out.FulfilledCapacity + *out = new(float64) **out = **in } - if in.PortRange != nil { - in, out := &in.PortRange, &out.PortRange - *out = make([]ACLRulePortRangeObservation, len(*in)) + if in.FulfilledOnDemandCapacity != nil { + in, out := &in.FulfilledOnDemandCapacity, &out.FulfilledOnDemandCapacity + *out = new(float64) + **out = **in + } + if in.LaunchTemplateConfig != nil { + in, out := &in.LaunchTemplateConfig, &out.LaunchTemplateConfig + *out = make([]FleetLaunchTemplateConfigParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.OnDemandOptions != nil { + in, out := &in.OnDemandOptions, &out.OnDemandOptions + *out = new(OnDemandOptionsParameters) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.RuleAction != nil { - in, out := &in.RuleAction, &out.RuleAction + if in.ReplaceUnhealthyInstances != nil { + in, out := &in.ReplaceUnhealthyInstances, &out.ReplaceUnhealthyInstances + *out = new(bool) + **out = **in + } + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = new(FleetSpotOptionsParameters) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetCapacitySpecification != nil { + in, out := &in.TargetCapacitySpecification, &out.TargetCapacitySpecification + *out = new(TargetCapacitySpecificationParameters) + (*in).DeepCopyInto(*out) + } + if in.TerminateInstances != nil { + in, out := &in.TerminateInstances, &out.TerminateInstances + *out = new(bool) + **out = **in + } + if in.TerminateInstancesWithExpiration != nil { + in, out := &in.TerminateInstancesWithExpiration, &out.TerminateInstancesWithExpiration + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.RuleNumber != nil { - in, out := &in.RuleNumber, &out.RuleNumber - *out = new(float64) + if in.ValidFrom != nil { + in, out := &in.ValidFrom, &out.ValidFrom + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleObservation. -func (in *ForwardPathComponentsACLRuleObservation) DeepCopy() *ForwardPathComponentsACLRuleObservation { - if in == nil { - return nil + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil + *out = new(string) + **out = **in } - out := new(ForwardPathComponentsACLRuleObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsACLRuleParameters) DeepCopyInto(out *ForwardPathComponentsACLRuleParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleParameters. -func (in *ForwardPathComponentsACLRuleParameters) DeepCopy() *ForwardPathComponentsACLRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetParameters. +func (in *FleetParameters) DeepCopy() *FleetParameters { if in == nil { return nil } - out := new(ForwardPathComponentsACLRuleParameters) + out := new(FleetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsAttachedToInitParameters) DeepCopyInto(out *ForwardPathComponentsAttachedToInitParameters) { +func (in *FleetSpec) DeepCopyInto(out *FleetSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToInitParameters. -func (in *ForwardPathComponentsAttachedToInitParameters) DeepCopy() *ForwardPathComponentsAttachedToInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetSpec. +func (in *FleetSpec) DeepCopy() *FleetSpec { if in == nil { return nil } - out := new(ForwardPathComponentsAttachedToInitParameters) + out := new(FleetSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsAttachedToObservation) DeepCopyInto(out *ForwardPathComponentsAttachedToObservation) { +func (in *FleetSpotOptionsInitParameters) DeepCopyInto(out *FleetSpotOptionsInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.InstancePoolsToUseCount != nil { + in, out := &in.InstancePoolsToUseCount, &out.InstancePoolsToUseCount + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToObservation. -func (in *ForwardPathComponentsAttachedToObservation) DeepCopy() *ForwardPathComponentsAttachedToObservation { - if in == nil { - return nil + if in.MaintenanceStrategies != nil { + in, out := &in.MaintenanceStrategies, &out.MaintenanceStrategies + *out = new(MaintenanceStrategiesInitParameters) + (*in).DeepCopyInto(*out) } - out := new(ForwardPathComponentsAttachedToObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsAttachedToParameters) DeepCopyInto(out *ForwardPathComponentsAttachedToParameters) { - *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToParameters. -func (in *ForwardPathComponentsAttachedToParameters) DeepCopy() *ForwardPathComponentsAttachedToParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetSpotOptionsInitParameters. +func (in *FleetSpotOptionsInitParameters) DeepCopy() *FleetSpotOptionsInitParameters { if in == nil { return nil } - out := new(ForwardPathComponentsAttachedToParameters) + out := new(FleetSpotOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsComponentInitParameters) DeepCopyInto(out *ForwardPathComponentsComponentInitParameters) { +func (in *FleetSpotOptionsObservation) DeepCopyInto(out *FleetSpotOptionsObservation) { *out = *in + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(string) + **out = **in + } + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior + *out = new(string) + **out = **in + } + if in.InstancePoolsToUseCount != nil { + in, out := &in.InstancePoolsToUseCount, &out.InstancePoolsToUseCount + *out = new(float64) + **out = **in + } + if in.MaintenanceStrategies != nil { + in, out := &in.MaintenanceStrategies, &out.MaintenanceStrategies + *out = new(MaintenanceStrategiesObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentInitParameters. -func (in *ForwardPathComponentsComponentInitParameters) DeepCopy() *ForwardPathComponentsComponentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetSpotOptionsObservation. +func (in *FleetSpotOptionsObservation) DeepCopy() *FleetSpotOptionsObservation { if in == nil { return nil } - out := new(ForwardPathComponentsComponentInitParameters) + out := new(FleetSpotOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsComponentObservation) DeepCopyInto(out *ForwardPathComponentsComponentObservation) { +func (in *FleetSpotOptionsParameters) DeepCopyInto(out *FleetSpotOptionsParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.InstancePoolsToUseCount != nil { + in, out := &in.InstancePoolsToUseCount, &out.InstancePoolsToUseCount + *out = new(float64) **out = **in } + if in.MaintenanceStrategies != nil { + in, out := &in.MaintenanceStrategies, &out.MaintenanceStrategies + *out = new(MaintenanceStrategiesParameters) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentObservation. -func (in *ForwardPathComponentsComponentObservation) DeepCopy() *ForwardPathComponentsComponentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetSpotOptionsParameters. +func (in *FleetSpotOptionsParameters) DeepCopy() *FleetSpotOptionsParameters { if in == nil { return nil } - out := new(ForwardPathComponentsComponentObservation) + out := new(FleetSpotOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsComponentParameters) DeepCopyInto(out *ForwardPathComponentsComponentParameters) { +func (in *FleetStatus) DeepCopyInto(out *FleetStatus) { *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentParameters. -func (in *ForwardPathComponentsComponentParameters) DeepCopy() *ForwardPathComponentsComponentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetStatus. +func (in *FleetStatus) DeepCopy() *FleetStatus { if in == nil { return nil } - out := new(ForwardPathComponentsComponentParameters) + out := new(FleetStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsDestinationVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsDestinationVPCInitParameters) { +func (in *FlowLog) DeepCopyInto(out *FlowLog) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCInitParameters. -func (in *ForwardPathComponentsDestinationVPCInitParameters) DeepCopy() *ForwardPathComponentsDestinationVPCInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLog. +func (in *FlowLog) DeepCopy() *FlowLog { if in == nil { return nil } - out := new(ForwardPathComponentsDestinationVPCInitParameters) + out := new(FlowLog) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FlowLog) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsDestinationVPCObservation) DeepCopyInto(out *ForwardPathComponentsDestinationVPCObservation) { +func (in *FlowLogInitParameters) DeepCopyInto(out *FlowLogInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.DeliverCrossAccountRole != nil { + in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.DestinationOptions != nil { + in, out := &in.DestinationOptions, &out.DestinationOptions + *out = make([]DestinationOptionsInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EniID != nil { + in, out := &in.EniID, &out.EniID *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCObservation. -func (in *ForwardPathComponentsDestinationVPCObservation) DeepCopy() *ForwardPathComponentsDestinationVPCObservation { - if in == nil { - return nil + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - out := new(ForwardPathComponentsDestinationVPCObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsDestinationVPCParameters) DeepCopyInto(out *ForwardPathComponentsDestinationVPCParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCParameters. -func (in *ForwardPathComponentsDestinationVPCParameters) DeepCopy() *ForwardPathComponentsDestinationVPCParameters { - if in == nil { - return nil + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(ForwardPathComponentsDestinationVPCParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsInitParameters) DeepCopyInto(out *ForwardPathComponentsInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsInitParameters. -func (in *ForwardPathComponentsInitParameters) DeepCopy() *ForwardPathComponentsInitParameters { - if in == nil { - return nil + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in } - out := new(ForwardPathComponentsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsObservation) DeepCopyInto(out *ForwardPathComponentsObservation) { - *out = *in - if in.ACLRule != nil { - in, out := &in.ACLRule, &out.ACLRule - *out = make([]ForwardPathComponentsACLRuleObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LogDestinationRef != nil { + in, out := &in.LogDestinationRef, &out.LogDestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.AdditionalDetails != nil { - in, out := &in.AdditionalDetails, &out.AdditionalDetails - *out = make([]AdditionalDetailsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LogDestinationSelector != nil { + in, out := &in.LogDestinationSelector, &out.LogDestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.AttachedTo != nil { - in, out := &in.AttachedTo, &out.AttachedTo - *out = make([]ForwardPathComponentsAttachedToObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LogDestinationType != nil { + in, out := &in.LogDestinationType, &out.LogDestinationType + *out = new(string) + **out = **in } - if in.Component != nil { - in, out := &in.Component, &out.Component - *out = make([]ForwardPathComponentsComponentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LogFormat != nil { + in, out := &in.LogFormat, &out.LogFormat + *out = new(string) + **out = **in } - if in.DestinationVPC != nil { - in, out := &in.DestinationVPC, &out.DestinationVPC - *out = make([]ForwardPathComponentsDestinationVPCObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in } - if in.InboundHeader != nil { - in, out := &in.InboundHeader, &out.InboundHeader - *out = make([]InboundHeaderObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.MaxAggregationInterval != nil { + in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + *out = new(float64) + **out = **in } - if in.OutboundHeader != nil { - in, out := &in.OutboundHeader, &out.OutboundHeader - *out = make([]OutboundHeaderObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in } - if in.RouteTableRoute != nil { - in, out := &in.RouteTableRoute, &out.RouteTableRoute - *out = make([]ForwardPathComponentsRouteTableRouteObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.SecurityGroupRule != nil { - in, out := &in.SecurityGroupRule, &out.SecurityGroupRule - *out = make([]ForwardPathComponentsSecurityGroupRuleObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.SequenceNumber != nil { - in, out := &in.SequenceNumber, &out.SequenceNumber - *out = new(float64) + if in.TrafficType != nil { + in, out := &in.TrafficType, &out.TrafficType + *out = new(string) **out = **in } - if in.SourceVPC != nil { - in, out := &in.SourceVPC, &out.SourceVPC - *out = make([]ForwardPathComponentsSourceVPCObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in } - if in.Subnet != nil { - in, out := &in.Subnet, &out.Subnet - *out = make([]ForwardPathComponentsSubnetObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in } - if in.TransitGateway != nil { - in, out := &in.TransitGateway, &out.TransitGateway - *out = make([]ForwardPathComponentsTransitGatewayObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in } - if in.TransitGatewayRouteTableRoute != nil { - in, out := &in.TransitGatewayRouteTableRoute, &out.TransitGatewayRouteTableRoute - *out = make([]ForwardPathComponentsTransitGatewayRouteTableRouteObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.VPC != nil { - in, out := &in.VPC, &out.VPC - *out = make([]ForwardPathComponentsVPCObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsObservation. -func (in *ForwardPathComponentsObservation) DeepCopy() *ForwardPathComponentsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogInitParameters. +func (in *FlowLogInitParameters) DeepCopy() *FlowLogInitParameters { if in == nil { return nil } - out := new(ForwardPathComponentsObservation) + out := new(FlowLogInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsParameters) DeepCopyInto(out *ForwardPathComponentsParameters) { +func (in *FlowLogList) DeepCopyInto(out *FlowLogList) { *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FlowLog, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsParameters. -func (in *ForwardPathComponentsParameters) DeepCopy() *ForwardPathComponentsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogList. +func (in *FlowLogList) DeepCopy() *FlowLogList { if in == nil { return nil } - out := new(ForwardPathComponentsParameters) + out := new(FlowLogList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsRouteTableRouteInitParameters) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteInitParameters. -func (in *ForwardPathComponentsRouteTableRouteInitParameters) DeepCopy() *ForwardPathComponentsRouteTableRouteInitParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FlowLogList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(ForwardPathComponentsRouteTableRouteInitParameters) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsRouteTableRouteObservation) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteObservation) { +func (in *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { *out = *in - if in.DestinationCidr != nil { - in, out := &in.DestinationCidr, &out.DestinationCidr + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.DestinationPrefixListID != nil { - in, out := &in.DestinationPrefixListID, &out.DestinationPrefixListID + if in.DeliverCrossAccountRole != nil { + in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole *out = new(string) **out = **in } - if in.EgressOnlyInternetGatewayID != nil { - in, out := &in.EgressOnlyInternetGatewayID, &out.EgressOnlyInternetGatewayID - *out = new(string) - **out = **in + if in.DestinationOptions != nil { + in, out := &in.DestinationOptions, &out.DestinationOptions + *out = make([]DestinationOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.GatewayID != nil { - in, out := &in.GatewayID, &out.GatewayID + if in.EniID != nil { + in, out := &in.EniID, &out.EniID *out = new(string) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn *out = new(string) **out = **in } - if in.NATGatewayID != nil { - in, out := &in.NATGatewayID, &out.NATGatewayID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination *out = new(string) **out = **in } - if in.Origin != nil { - in, out := &in.Origin, &out.Origin + if in.LogDestinationType != nil { + in, out := &in.LogDestinationType, &out.LogDestinationType *out = new(string) **out = **in } - if in.TransitGatewayID != nil { - in, out := &in.TransitGatewayID, &out.TransitGatewayID + if in.LogFormat != nil { + in, out := &in.LogFormat, &out.LogFormat *out = new(string) **out = **in } - if in.VPCPeeringConnectionID != nil { - in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteObservation. -func (in *ForwardPathComponentsRouteTableRouteObservation) DeepCopy() *ForwardPathComponentsRouteTableRouteObservation { - if in == nil { - return nil - } - out := new(ForwardPathComponentsRouteTableRouteObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsRouteTableRouteParameters) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteParameters. -func (in *ForwardPathComponentsRouteTableRouteParameters) DeepCopy() *ForwardPathComponentsRouteTableRouteParameters { - if in == nil { - return nil - } - out := new(ForwardPathComponentsRouteTableRouteParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRuleInitParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleInitParameters. -func (in *ForwardPathComponentsSecurityGroupRuleInitParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRuleInitParameters { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRuleInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRuleObservation) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleObservation) { - *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr - *out = new(string) + if in.MaxAggregationInterval != nil { + in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + *out = new(float64) **out = **in } - if in.Direction != nil { - in, out := &in.Direction, &out.Direction + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } - if in.PortRange != nil { - in, out := &in.PortRange, &out.PortRange - *out = make([]ForwardPathComponentsSecurityGroupRulePortRangeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID - *out = new(string) - **out = **in + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.TrafficType != nil { + in, out := &in.TrafficType, &out.TrafficType *out = new(string) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleObservation. -func (in *ForwardPathComponentsSecurityGroupRuleObservation) DeepCopy() *ForwardPathComponentsSecurityGroupRuleObservation { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRuleObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRuleParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleParameters. -func (in *ForwardPathComponentsSecurityGroupRuleParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRuleParameters { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRuleParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeInitParameters. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeObservation) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeObservation) { - *out = *in - if in.From != nil { - in, out := &in.From, &out.From - *out = new(float64) + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To - *out = new(float64) + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeObservation. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeObservation) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeObservation { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRulePortRangeObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeParameters. -func (in *ForwardPathComponentsSecurityGroupRulePortRangeParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeParameters { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSecurityGroupRulePortRangeParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSourceVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsSourceVPCInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCInitParameters. -func (in *ForwardPathComponentsSourceVPCInitParameters) DeepCopy() *ForwardPathComponentsSourceVPCInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogObservation. +func (in *FlowLogObservation) DeepCopy() *FlowLogObservation { if in == nil { return nil } - out := new(ForwardPathComponentsSourceVPCInitParameters) + out := new(FlowLogObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSourceVPCObservation) DeepCopyInto(out *ForwardPathComponentsSourceVPCObservation) { +func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.DeliverCrossAccountRole != nil { + in, out := &in.DeliverCrossAccountRole, &out.DeliverCrossAccountRole *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.DestinationOptions != nil { + in, out := &in.DestinationOptions, &out.DestinationOptions + *out = make([]DestinationOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EniID != nil { + in, out := &in.EniID, &out.EniID *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.IAMRoleArn != nil { + in, out := &in.IAMRoleArn, &out.IAMRoleArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCObservation. -func (in *ForwardPathComponentsSourceVPCObservation) DeepCopy() *ForwardPathComponentsSourceVPCObservation { - if in == nil { - return nil - } - out := new(ForwardPathComponentsSourceVPCObservation) + if in.IAMRoleArnRef != nil { + in, out := &in.IAMRoleArnRef, &out.IAMRoleArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMRoleArnSelector != nil { + in, out := &in.IAMRoleArnSelector, &out.IAMRoleArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.LogDestinationRef != nil { + in, out := &in.LogDestinationRef, &out.LogDestinationRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationSelector != nil { + in, out := &in.LogDestinationSelector, &out.LogDestinationSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LogDestinationType != nil { + in, out := &in.LogDestinationType, &out.LogDestinationType + *out = new(string) + **out = **in + } + if in.LogFormat != nil { + in, out := &in.LogFormat, &out.LogFormat + *out = new(string) + **out = **in + } + if in.LogGroupName != nil { + in, out := &in.LogGroupName, &out.LogGroupName + *out = new(string) + **out = **in + } + if in.MaxAggregationInterval != nil { + in, out := &in.MaxAggregationInterval, &out.MaxAggregationInterval + *out = new(float64) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrafficType != nil { + in, out := &in.TrafficType, &out.TrafficType + *out = new(string) + **out = **in + } + if in.TransitGatewayAttachmentID != nil { + in, out := &in.TransitGatewayAttachmentID, &out.TransitGatewayAttachmentID + *out = new(string) + **out = **in + } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogParameters. +func (in *FlowLogParameters) DeepCopy() *FlowLogParameters { + if in == nil { + return nil + } + out := new(FlowLogParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSourceVPCParameters) DeepCopyInto(out *ForwardPathComponentsSourceVPCParameters) { +func (in *FlowLogSpec) DeepCopyInto(out *FlowLogSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCParameters. -func (in *ForwardPathComponentsSourceVPCParameters) DeepCopy() *ForwardPathComponentsSourceVPCParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogSpec. +func (in *FlowLogSpec) DeepCopy() *FlowLogSpec { if in == nil { return nil } - out := new(ForwardPathComponentsSourceVPCParameters) + out := new(FlowLogSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSubnetInitParameters) DeepCopyInto(out *ForwardPathComponentsSubnetInitParameters) { +func (in *FlowLogStatus) DeepCopyInto(out *FlowLogStatus) { *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetInitParameters. -func (in *ForwardPathComponentsSubnetInitParameters) DeepCopy() *ForwardPathComponentsSubnetInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogStatus. +func (in *FlowLogStatus) DeepCopy() *FlowLogStatus { if in == nil { return nil } - out := new(ForwardPathComponentsSubnetInitParameters) + out := new(FlowLogStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSubnetObservation) DeepCopyInto(out *ForwardPathComponentsSubnetObservation) { +func (in *ForwardPathComponentsACLRuleInitParameters) DeepCopyInto(out *ForwardPathComponentsACLRuleInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleInitParameters. +func (in *ForwardPathComponentsACLRuleInitParameters) DeepCopy() *ForwardPathComponentsACLRuleInitParameters { + if in == nil { + return nil + } + out := new(ForwardPathComponentsACLRuleInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ForwardPathComponentsACLRuleObservation) DeepCopyInto(out *ForwardPathComponentsACLRuleObservation) { + *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = new(bool) + **out = **in + } + if in.PortRange != nil { + in, out := &in.PortRange, &out.PortRange + *out = make([]ACLRulePortRangeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.RuleAction != nil { + in, out := &in.RuleAction, &out.RuleAction *out = new(string) **out = **in } + if in.RuleNumber != nil { + in, out := &in.RuleNumber, &out.RuleNumber + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetObservation. -func (in *ForwardPathComponentsSubnetObservation) DeepCopy() *ForwardPathComponentsSubnetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleObservation. +func (in *ForwardPathComponentsACLRuleObservation) DeepCopy() *ForwardPathComponentsACLRuleObservation { if in == nil { return nil } - out := new(ForwardPathComponentsSubnetObservation) + out := new(ForwardPathComponentsACLRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsSubnetParameters) DeepCopyInto(out *ForwardPathComponentsSubnetParameters) { +func (in *ForwardPathComponentsACLRuleParameters) DeepCopyInto(out *ForwardPathComponentsACLRuleParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetParameters. -func (in *ForwardPathComponentsSubnetParameters) DeepCopy() *ForwardPathComponentsSubnetParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsACLRuleParameters. +func (in *ForwardPathComponentsACLRuleParameters) DeepCopy() *ForwardPathComponentsACLRuleParameters { if in == nil { return nil } - out := new(ForwardPathComponentsSubnetParameters) + out := new(ForwardPathComponentsACLRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayInitParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayInitParameters) { +func (in *ForwardPathComponentsAttachedToInitParameters) DeepCopyInto(out *ForwardPathComponentsAttachedToInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayInitParameters. -func (in *ForwardPathComponentsTransitGatewayInitParameters) DeepCopy() *ForwardPathComponentsTransitGatewayInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToInitParameters. +func (in *ForwardPathComponentsAttachedToInitParameters) DeepCopy() *ForwardPathComponentsAttachedToInitParameters { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayInitParameters) + out := new(ForwardPathComponentsAttachedToInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayObservation) DeepCopyInto(out *ForwardPathComponentsTransitGatewayObservation) { +func (in *ForwardPathComponentsAttachedToObservation) DeepCopyInto(out *ForwardPathComponentsAttachedToObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn @@ -13071,128 +13175,108 @@ func (in *ForwardPathComponentsTransitGatewayObservation) DeepCopyInto(out *Forw } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayObservation. -func (in *ForwardPathComponentsTransitGatewayObservation) DeepCopy() *ForwardPathComponentsTransitGatewayObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToObservation. +func (in *ForwardPathComponentsAttachedToObservation) DeepCopy() *ForwardPathComponentsAttachedToObservation { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayObservation) + out := new(ForwardPathComponentsAttachedToObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayParameters) { +func (in *ForwardPathComponentsAttachedToParameters) DeepCopyInto(out *ForwardPathComponentsAttachedToParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayParameters. -func (in *ForwardPathComponentsTransitGatewayParameters) DeepCopy() *ForwardPathComponentsTransitGatewayParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsAttachedToParameters. +func (in *ForwardPathComponentsAttachedToParameters) DeepCopy() *ForwardPathComponentsAttachedToParameters { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayParameters) + out := new(ForwardPathComponentsAttachedToParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) { +func (in *ForwardPathComponentsComponentInitParameters) DeepCopyInto(out *ForwardPathComponentsComponentInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentInitParameters. +func (in *ForwardPathComponentsComponentInitParameters) DeepCopy() *ForwardPathComponentsComponentInitParameters { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) + out := new(ForwardPathComponentsComponentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) { +func (in *ForwardPathComponentsComponentObservation) DeepCopyInto(out *ForwardPathComponentsComponentObservation) { *out = *in - if in.AttachmentID != nil { - in, out := &in.AttachmentID, &out.AttachmentID - *out = new(string) - **out = **in - } - if in.DestinationCidr != nil { - in, out := &in.DestinationCidr, &out.DestinationCidr + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.ResourceID != nil { - in, out := &in.ResourceID, &out.ResourceID - *out = new(string) - **out = **in - } - if in.ResourceType != nil { - in, out := &in.ResourceType, &out.ResourceType - *out = new(string) - **out = **in - } - if in.RouteOrigin != nil { - in, out := &in.RouteOrigin, &out.RouteOrigin - *out = new(string) - **out = **in - } - if in.State != nil { - in, out := &in.State, &out.State + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteObservation. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentObservation. +func (in *ForwardPathComponentsComponentObservation) DeepCopy() *ForwardPathComponentsComponentObservation { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayRouteTableRouteObservation) + out := new(ForwardPathComponentsComponentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) { +func (in *ForwardPathComponentsComponentParameters) DeepCopyInto(out *ForwardPathComponentsComponentParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteParameters. -func (in *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsComponentParameters. +func (in *ForwardPathComponentsComponentParameters) DeepCopy() *ForwardPathComponentsComponentParameters { if in == nil { return nil } - out := new(ForwardPathComponentsTransitGatewayRouteTableRouteParameters) + out := new(ForwardPathComponentsComponentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsVPCInitParameters) { +func (in *ForwardPathComponentsDestinationVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsDestinationVPCInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCInitParameters. -func (in *ForwardPathComponentsVPCInitParameters) DeepCopy() *ForwardPathComponentsVPCInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCInitParameters. +func (in *ForwardPathComponentsDestinationVPCInitParameters) DeepCopy() *ForwardPathComponentsDestinationVPCInitParameters { if in == nil { return nil } - out := new(ForwardPathComponentsVPCInitParameters) + out := new(ForwardPathComponentsDestinationVPCInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsVPCObservation) DeepCopyInto(out *ForwardPathComponentsVPCObservation) { +func (in *ForwardPathComponentsDestinationVPCObservation) DeepCopyInto(out *ForwardPathComponentsDestinationVPCObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn @@ -13211,992 +13295,788 @@ func (in *ForwardPathComponentsVPCObservation) DeepCopyInto(out *ForwardPathComp } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCObservation. -func (in *ForwardPathComponentsVPCObservation) DeepCopy() *ForwardPathComponentsVPCObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCObservation. +func (in *ForwardPathComponentsDestinationVPCObservation) DeepCopy() *ForwardPathComponentsDestinationVPCObservation { if in == nil { return nil } - out := new(ForwardPathComponentsVPCObservation) + out := new(ForwardPathComponentsDestinationVPCObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ForwardPathComponentsVPCParameters) DeepCopyInto(out *ForwardPathComponentsVPCParameters) { +func (in *ForwardPathComponentsDestinationVPCParameters) DeepCopyInto(out *ForwardPathComponentsDestinationVPCParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCParameters. -func (in *ForwardPathComponentsVPCParameters) DeepCopy() *ForwardPathComponentsVPCParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsDestinationVPCParameters. +func (in *ForwardPathComponentsDestinationVPCParameters) DeepCopy() *ForwardPathComponentsDestinationVPCParameters { if in == nil { return nil } - out := new(ForwardPathComponentsVPCParameters) + out := new(ForwardPathComponentsDestinationVPCParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HibernationOptionsInitParameters) DeepCopyInto(out *HibernationOptionsInitParameters) { +func (in *ForwardPathComponentsInitParameters) DeepCopyInto(out *ForwardPathComponentsInitParameters) { *out = *in - if in.Configured != nil { - in, out := &in.Configured, &out.Configured - *out = new(bool) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsInitParameters. -func (in *HibernationOptionsInitParameters) DeepCopy() *HibernationOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsInitParameters. +func (in *ForwardPathComponentsInitParameters) DeepCopy() *ForwardPathComponentsInitParameters { if in == nil { return nil } - out := new(HibernationOptionsInitParameters) + out := new(ForwardPathComponentsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HibernationOptionsObservation) DeepCopyInto(out *HibernationOptionsObservation) { +func (in *ForwardPathComponentsObservation) DeepCopyInto(out *ForwardPathComponentsObservation) { *out = *in - if in.Configured != nil { - in, out := &in.Configured, &out.Configured - *out = new(bool) + if in.ACLRule != nil { + in, out := &in.ACLRule, &out.ACLRule + *out = make([]ForwardPathComponentsACLRuleObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalDetails != nil { + in, out := &in.AdditionalDetails, &out.AdditionalDetails + *out = make([]AdditionalDetailsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AttachedTo != nil { + in, out := &in.AttachedTo, &out.AttachedTo + *out = make([]ForwardPathComponentsAttachedToObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Component != nil { + in, out := &in.Component, &out.Component + *out = make([]ForwardPathComponentsComponentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DestinationVPC != nil { + in, out := &in.DestinationVPC, &out.DestinationVPC + *out = make([]ForwardPathComponentsDestinationVPCObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InboundHeader != nil { + in, out := &in.InboundHeader, &out.InboundHeader + *out = make([]InboundHeaderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OutboundHeader != nil { + in, out := &in.OutboundHeader, &out.OutboundHeader + *out = make([]OutboundHeaderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RouteTableRoute != nil { + in, out := &in.RouteTableRoute, &out.RouteTableRoute + *out = make([]ForwardPathComponentsRouteTableRouteObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupRule != nil { + in, out := &in.SecurityGroupRule, &out.SecurityGroupRule + *out = make([]ForwardPathComponentsSecurityGroupRuleObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SequenceNumber != nil { + in, out := &in.SequenceNumber, &out.SequenceNumber + *out = new(float64) **out = **in } + if in.SourceVPC != nil { + in, out := &in.SourceVPC, &out.SourceVPC + *out = make([]ForwardPathComponentsSourceVPCObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = make([]ForwardPathComponentsSubnetObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TransitGateway != nil { + in, out := &in.TransitGateway, &out.TransitGateway + *out = make([]ForwardPathComponentsTransitGatewayObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TransitGatewayRouteTableRoute != nil { + in, out := &in.TransitGatewayRouteTableRoute, &out.TransitGatewayRouteTableRoute + *out = make([]ForwardPathComponentsTransitGatewayRouteTableRouteObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = make([]ForwardPathComponentsVPCObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsObservation. -func (in *HibernationOptionsObservation) DeepCopy() *HibernationOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsObservation. +func (in *ForwardPathComponentsObservation) DeepCopy() *ForwardPathComponentsObservation { if in == nil { return nil } - out := new(HibernationOptionsObservation) + out := new(ForwardPathComponentsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HibernationOptionsParameters) DeepCopyInto(out *HibernationOptionsParameters) { +func (in *ForwardPathComponentsParameters) DeepCopyInto(out *ForwardPathComponentsParameters) { *out = *in - if in.Configured != nil { - in, out := &in.Configured, &out.Configured - *out = new(bool) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsParameters. -func (in *HibernationOptionsParameters) DeepCopy() *HibernationOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsParameters. +func (in *ForwardPathComponentsParameters) DeepCopy() *ForwardPathComponentsParameters { if in == nil { return nil } - out := new(HibernationOptionsParameters) + out := new(ForwardPathComponentsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Host) DeepCopyInto(out *Host) { +func (in *ForwardPathComponentsRouteTableRouteInitParameters) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host. -func (in *Host) DeepCopy() *Host { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteInitParameters. +func (in *ForwardPathComponentsRouteTableRouteInitParameters) DeepCopy() *ForwardPathComponentsRouteTableRouteInitParameters { if in == nil { return nil } - out := new(Host) + out := new(ForwardPathComponentsRouteTableRouteInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Host) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters) { +func (in *ForwardPathComponentsRouteTableRouteObservation) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteObservation) { *out = *in - if in.AssetID != nil { - in, out := &in.AssetID, &out.AssetID + if in.DestinationCidr != nil { + in, out := &in.DestinationCidr, &out.DestinationCidr *out = new(string) **out = **in } - if in.AutoPlacement != nil { - in, out := &in.AutoPlacement, &out.AutoPlacement + if in.DestinationPrefixListID != nil { + in, out := &in.DestinationPrefixListID, &out.DestinationPrefixListID *out = new(string) **out = **in } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone + if in.EgressOnlyInternetGatewayID != nil { + in, out := &in.EgressOnlyInternetGatewayID, &out.EgressOnlyInternetGatewayID *out = new(string) **out = **in } - if in.HostRecovery != nil { - in, out := &in.HostRecovery, &out.HostRecovery + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID *out = new(string) **out = **in } - if in.InstanceFamily != nil { - in, out := &in.InstanceFamily, &out.InstanceFamily + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID *out = new(string) **out = **in } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.NATGatewayID != nil { + in, out := &in.NATGatewayID, &out.NATGatewayID *out = new(string) **out = **in } - if in.OutpostArn != nil { - in, out := &in.OutpostArn, &out.OutpostArn + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.Origin != nil { + in, out := &in.Origin, &out.Origin + *out = new(string) + **out = **in + } + if in.TransitGatewayID != nil { + in, out := &in.TransitGatewayID, &out.TransitGatewayID + *out = new(string) + **out = **in + } + if in.VPCPeeringConnectionID != nil { + in, out := &in.VPCPeeringConnectionID, &out.VPCPeeringConnectionID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostInitParameters. -func (in *HostInitParameters) DeepCopy() *HostInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteObservation. +func (in *ForwardPathComponentsRouteTableRouteObservation) DeepCopy() *ForwardPathComponentsRouteTableRouteObservation { if in == nil { return nil } - out := new(HostInitParameters) + out := new(ForwardPathComponentsRouteTableRouteObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostList) DeepCopyInto(out *HostList) { +func (in *ForwardPathComponentsRouteTableRouteParameters) DeepCopyInto(out *ForwardPathComponentsRouteTableRouteParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Host, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList. -func (in *HostList) DeepCopy() *HostList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsRouteTableRouteParameters. +func (in *ForwardPathComponentsRouteTableRouteParameters) DeepCopy() *ForwardPathComponentsRouteTableRouteParameters { if in == nil { return nil } - out := new(HostList) + out := new(ForwardPathComponentsRouteTableRouteParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *HostList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostObservation) DeepCopyInto(out *HostObservation) { +func (in *ForwardPathComponentsSecurityGroupRuleInitParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.AssetID != nil { - in, out := &in.AssetID, &out.AssetID - *out = new(string) - **out = **in - } - if in.AutoPlacement != nil { - in, out := &in.AutoPlacement, &out.AutoPlacement - *out = new(string) - **out = **in - } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone - *out = new(string) - **out = **in - } - if in.HostRecovery != nil { - in, out := &in.HostRecovery, &out.HostRecovery - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.InstanceFamily != nil { - in, out := &in.InstanceFamily, &out.InstanceFamily - *out = new(string) - **out = **in - } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) - **out = **in - } - if in.OutpostArn != nil { - in, out := &in.OutpostArn, &out.OutpostArn - *out = new(string) - **out = **in - } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostObservation. -func (in *HostObservation) DeepCopy() *HostObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleInitParameters. +func (in *ForwardPathComponentsSecurityGroupRuleInitParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRuleInitParameters { if in == nil { return nil } - out := new(HostObservation) + out := new(ForwardPathComponentsSecurityGroupRuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostParameters) DeepCopyInto(out *HostParameters) { +func (in *ForwardPathComponentsSecurityGroupRuleObservation) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleObservation) { *out = *in - if in.AssetID != nil { - in, out := &in.AssetID, &out.AssetID - *out = new(string) - **out = **in - } - if in.AutoPlacement != nil { - in, out := &in.AutoPlacement, &out.AutoPlacement - *out = new(string) - **out = **in - } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.HostRecovery != nil { - in, out := &in.HostRecovery, &out.HostRecovery + if in.Direction != nil { + in, out := &in.Direction, &out.Direction *out = new(string) **out = **in } - if in.InstanceFamily != nil { - in, out := &in.InstanceFamily, &out.InstanceFamily - *out = new(string) - **out = **in + if in.PortRange != nil { + in, out := &in.PortRange, &out.PortRange + *out = make([]ForwardPathComponentsSecurityGroupRulePortRangeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID *out = new(string) **out = **in } - if in.OutpostArn != nil { - in, out := &in.OutpostArn, &out.OutpostArn + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostParameters. -func (in *HostParameters) DeepCopy() *HostParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleObservation. +func (in *ForwardPathComponentsSecurityGroupRuleObservation) DeepCopy() *ForwardPathComponentsSecurityGroupRuleObservation { if in == nil { return nil } - out := new(HostParameters) + out := new(ForwardPathComponentsSecurityGroupRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostSpec) DeepCopyInto(out *HostSpec) { +func (in *ForwardPathComponentsSecurityGroupRuleParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRuleParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec. -func (in *HostSpec) DeepCopy() *HostSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRuleParameters. +func (in *ForwardPathComponentsSecurityGroupRuleParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRuleParameters { if in == nil { return nil } - out := new(HostSpec) + out := new(ForwardPathComponentsSecurityGroupRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HostStatus) DeepCopyInto(out *HostStatus) { +func (in *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus. -func (in *HostStatus) DeepCopy() *HostStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeInitParameters. +func (in *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeInitParameters { if in == nil { return nil } - out := new(HostStatus) + out := new(ForwardPathComponentsSecurityGroupRulePortRangeInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IAMInstanceProfileInitParameters) DeepCopyInto(out *IAMInstanceProfileInitParameters) { +func (in *ForwardPathComponentsSecurityGroupRulePortRangeObservation) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.From != nil { + in, out := &in.From, &out.From + *out = new(float64) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.To != nil { + in, out := &in.To, &out.To + *out = new(float64) **out = **in } - if in.NameRef != nil { - in, out := &in.NameRef, &out.NameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NameSelector != nil { - in, out := &in.NameSelector, &out.NameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileInitParameters. -func (in *IAMInstanceProfileInitParameters) DeepCopy() *IAMInstanceProfileInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeObservation. +func (in *ForwardPathComponentsSecurityGroupRulePortRangeObservation) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeObservation { if in == nil { return nil } - out := new(IAMInstanceProfileInitParameters) + out := new(ForwardPathComponentsSecurityGroupRulePortRangeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IAMInstanceProfileObservation) DeepCopyInto(out *IAMInstanceProfileObservation) { +func (in *ForwardPathComponentsSecurityGroupRulePortRangeParameters) DeepCopyInto(out *ForwardPathComponentsSecurityGroupRulePortRangeParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSecurityGroupRulePortRangeParameters. +func (in *ForwardPathComponentsSecurityGroupRulePortRangeParameters) DeepCopy() *ForwardPathComponentsSecurityGroupRulePortRangeParameters { + if in == nil { + return nil } + out := new(ForwardPathComponentsSecurityGroupRulePortRangeParameters) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileObservation. -func (in *IAMInstanceProfileObservation) DeepCopy() *IAMInstanceProfileObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ForwardPathComponentsSourceVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsSourceVPCInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCInitParameters. +func (in *ForwardPathComponentsSourceVPCInitParameters) DeepCopy() *ForwardPathComponentsSourceVPCInitParameters { if in == nil { return nil } - out := new(IAMInstanceProfileObservation) + out := new(ForwardPathComponentsSourceVPCInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IAMInstanceProfileParameters) DeepCopyInto(out *IAMInstanceProfileParameters) { +func (in *ForwardPathComponentsSourceVPCObservation) DeepCopyInto(out *ForwardPathComponentsSourceVPCObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ArnRef != nil { - in, out := &in.ArnRef, &out.ArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ArnSelector != nil { - in, out := &in.ArnSelector, &out.ArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.NameRef != nil { - in, out := &in.NameRef, &out.NameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NameSelector != nil { - in, out := &in.NameSelector, &out.NameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCObservation. +func (in *ForwardPathComponentsSourceVPCObservation) DeepCopy() *ForwardPathComponentsSourceVPCObservation { + if in == nil { + return nil } + out := new(ForwardPathComponentsSourceVPCObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileParameters. -func (in *IAMInstanceProfileParameters) DeepCopy() *IAMInstanceProfileParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ForwardPathComponentsSourceVPCParameters) DeepCopyInto(out *ForwardPathComponentsSourceVPCParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSourceVPCParameters. +func (in *ForwardPathComponentsSourceVPCParameters) DeepCopy() *ForwardPathComponentsSourceVPCParameters { if in == nil { return nil } - out := new(IAMInstanceProfileParameters) + out := new(ForwardPathComponentsSourceVPCParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderDestinationPortRangesInitParameters) DeepCopyInto(out *InboundHeaderDestinationPortRangesInitParameters) { +func (in *ForwardPathComponentsSubnetInitParameters) DeepCopyInto(out *ForwardPathComponentsSubnetInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesInitParameters. -func (in *InboundHeaderDestinationPortRangesInitParameters) DeepCopy() *InboundHeaderDestinationPortRangesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetInitParameters. +func (in *ForwardPathComponentsSubnetInitParameters) DeepCopy() *ForwardPathComponentsSubnetInitParameters { if in == nil { return nil } - out := new(InboundHeaderDestinationPortRangesInitParameters) + out := new(ForwardPathComponentsSubnetInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderDestinationPortRangesObservation) DeepCopyInto(out *InboundHeaderDestinationPortRangesObservation) { +func (in *ForwardPathComponentsSubnetObservation) DeepCopyInto(out *ForwardPathComponentsSubnetObservation) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From - *out = new(float64) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To - *out = new(float64) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesObservation. -func (in *InboundHeaderDestinationPortRangesObservation) DeepCopy() *InboundHeaderDestinationPortRangesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetObservation. +func (in *ForwardPathComponentsSubnetObservation) DeepCopy() *ForwardPathComponentsSubnetObservation { if in == nil { return nil } - out := new(InboundHeaderDestinationPortRangesObservation) + out := new(ForwardPathComponentsSubnetObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderDestinationPortRangesParameters) DeepCopyInto(out *InboundHeaderDestinationPortRangesParameters) { +func (in *ForwardPathComponentsSubnetParameters) DeepCopyInto(out *ForwardPathComponentsSubnetParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesParameters. -func (in *InboundHeaderDestinationPortRangesParameters) DeepCopy() *InboundHeaderDestinationPortRangesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsSubnetParameters. +func (in *ForwardPathComponentsSubnetParameters) DeepCopy() *ForwardPathComponentsSubnetParameters { if in == nil { return nil } - out := new(InboundHeaderDestinationPortRangesParameters) + out := new(ForwardPathComponentsSubnetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderInitParameters) DeepCopyInto(out *InboundHeaderInitParameters) { +func (in *ForwardPathComponentsTransitGatewayInitParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderInitParameters. -func (in *InboundHeaderInitParameters) DeepCopy() *InboundHeaderInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayInitParameters. +func (in *ForwardPathComponentsTransitGatewayInitParameters) DeepCopy() *ForwardPathComponentsTransitGatewayInitParameters { if in == nil { return nil } - out := new(InboundHeaderInitParameters) + out := new(ForwardPathComponentsTransitGatewayInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderObservation) DeepCopyInto(out *InboundHeaderObservation) { +func (in *ForwardPathComponentsTransitGatewayObservation) DeepCopyInto(out *ForwardPathComponentsTransitGatewayObservation) { *out = *in - if in.DestinationAddresses != nil { - in, out := &in.DestinationAddresses, &out.DestinationAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.DestinationPortRanges != nil { - in, out := &in.DestinationPortRanges, &out.DestinationPortRanges - *out = make([]DestinationPortRangesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.SourceAddresses != nil { - in, out := &in.SourceAddresses, &out.SourceAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in } - if in.SourcePortRanges != nil { - in, out := &in.SourcePortRanges, &out.SourcePortRanges - *out = make([]SourcePortRangesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderObservation. -func (in *InboundHeaderObservation) DeepCopy() *InboundHeaderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayObservation. +func (in *ForwardPathComponentsTransitGatewayObservation) DeepCopy() *ForwardPathComponentsTransitGatewayObservation { if in == nil { return nil } - out := new(InboundHeaderObservation) + out := new(ForwardPathComponentsTransitGatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderParameters) DeepCopyInto(out *InboundHeaderParameters) { +func (in *ForwardPathComponentsTransitGatewayParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderParameters. -func (in *InboundHeaderParameters) DeepCopy() *InboundHeaderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayParameters. +func (in *ForwardPathComponentsTransitGatewayParameters) DeepCopy() *ForwardPathComponentsTransitGatewayParameters { if in == nil { return nil } - out := new(InboundHeaderParameters) + out := new(ForwardPathComponentsTransitGatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderSourcePortRangesInitParameters) DeepCopyInto(out *InboundHeaderSourcePortRangesInitParameters) { +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesInitParameters. -func (in *InboundHeaderSourcePortRangesInitParameters) DeepCopy() *InboundHeaderSourcePortRangesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters. +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters { if in == nil { return nil } - out := new(InboundHeaderSourcePortRangesInitParameters) + out := new(ForwardPathComponentsTransitGatewayRouteTableRouteInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderSourcePortRangesObservation) DeepCopyInto(out *InboundHeaderSourcePortRangesObservation) { +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From - *out = new(float64) + if in.AttachmentID != nil { + in, out := &in.AttachmentID, &out.AttachmentID + *out = new(string) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To - *out = new(float64) + if in.DestinationCidr != nil { + in, out := &in.DestinationCidr, &out.DestinationCidr + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceType != nil { + in, out := &in.ResourceType, &out.ResourceType + *out = new(string) + **out = **in + } + if in.RouteOrigin != nil { + in, out := &in.RouteOrigin, &out.RouteOrigin + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesObservation. -func (in *InboundHeaderSourcePortRangesObservation) DeepCopy() *InboundHeaderSourcePortRangesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteObservation. +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteObservation) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteObservation { if in == nil { return nil } - out := new(InboundHeaderSourcePortRangesObservation) + out := new(ForwardPathComponentsTransitGatewayRouteTableRouteObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InboundHeaderSourcePortRangesParameters) DeepCopyInto(out *InboundHeaderSourcePortRangesParameters) { +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) DeepCopyInto(out *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesParameters. -func (in *InboundHeaderSourcePortRangesParameters) DeepCopy() *InboundHeaderSourcePortRangesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsTransitGatewayRouteTableRouteParameters. +func (in *ForwardPathComponentsTransitGatewayRouteTableRouteParameters) DeepCopy() *ForwardPathComponentsTransitGatewayRouteTableRouteParameters { if in == nil { return nil } - out := new(InboundHeaderSourcePortRangesParameters) + out := new(ForwardPathComponentsTransitGatewayRouteTableRouteParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressInitParameters) DeepCopyInto(out *IngressInitParameters) { +func (in *ForwardPathComponentsVPCInitParameters) DeepCopyInto(out *ForwardPathComponentsVPCInitParameters) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = new(string) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.CidrBlockRef != nil { - in, out := &in.CidrBlockRef, &out.CidrBlockRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.CidrBlockSelector != nil { - in, out := &in.CidrBlockSelector, &out.CidrBlockSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in - } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType - *out = new(float64) - **out = **in - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) - **out = **in - } - if in.RuleNo != nil { - in, out := &in.RuleNo, &out.RuleNo - *out = new(float64) - **out = **in - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressInitParameters. -func (in *IngressInitParameters) DeepCopy() *IngressInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCInitParameters. +func (in *ForwardPathComponentsVPCInitParameters) DeepCopy() *ForwardPathComponentsVPCInitParameters { if in == nil { return nil } - out := new(IngressInitParameters) + out := new(ForwardPathComponentsVPCInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressObservation) DeepCopyInto(out *IngressObservation) { +func (in *ForwardPathComponentsVPCObservation) DeepCopyInto(out *ForwardPathComponentsVPCObservation) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = new(string) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in - } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType - *out = new(float64) - **out = **in - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.RuleNo != nil { - in, out := &in.RuleNo, &out.RuleNo - *out = new(float64) - **out = **in - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressObservation. -func (in *IngressObservation) DeepCopy() *IngressObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCObservation. +func (in *ForwardPathComponentsVPCObservation) DeepCopy() *ForwardPathComponentsVPCObservation { if in == nil { return nil } - out := new(IngressObservation) + out := new(ForwardPathComponentsVPCObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressParameters) DeepCopyInto(out *IngressParameters) { +func (in *ForwardPathComponentsVPCParameters) DeepCopyInto(out *ForwardPathComponentsVPCParameters) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = new(string) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.CidrBlockRef != nil { - in, out := &in.CidrBlockRef, &out.CidrBlockRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.CidrBlockSelector != nil { - in, out := &in.CidrBlockSelector, &out.CidrBlockSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in - } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType - *out = new(float64) - **out = **in - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) - **out = **in - } - if in.RuleNo != nil { - in, out := &in.RuleNo, &out.RuleNo - *out = new(float64) - **out = **in - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressParameters. -func (in *IngressParameters) DeepCopy() *IngressParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardPathComponentsVPCParameters. +func (in *ForwardPathComponentsVPCParameters) DeepCopy() *ForwardPathComponentsVPCParameters { if in == nil { return nil } - out := new(IngressParameters) + out := new(ForwardPathComponentsVPCParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressRouteTableInitParameters) DeepCopyInto(out *IngressRouteTableInitParameters) { +func (in *HibernationOptionsInitParameters) DeepCopyInto(out *HibernationOptionsInitParameters) { *out = *in + if in.Configured != nil { + in, out := &in.Configured, &out.Configured + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableInitParameters. -func (in *IngressRouteTableInitParameters) DeepCopy() *IngressRouteTableInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsInitParameters. +func (in *HibernationOptionsInitParameters) DeepCopy() *HibernationOptionsInitParameters { if in == nil { return nil } - out := new(IngressRouteTableInitParameters) + out := new(HibernationOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressRouteTableObservation) DeepCopyInto(out *IngressRouteTableObservation) { +func (in *HibernationOptionsObservation) DeepCopyInto(out *HibernationOptionsObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.Configured != nil { + in, out := &in.Configured, &out.Configured + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableObservation. -func (in *IngressRouteTableObservation) DeepCopy() *IngressRouteTableObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsObservation. +func (in *HibernationOptionsObservation) DeepCopy() *HibernationOptionsObservation { if in == nil { return nil } - out := new(IngressRouteTableObservation) + out := new(HibernationOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IngressRouteTableParameters) DeepCopyInto(out *IngressRouteTableParameters) { +func (in *HibernationOptionsParameters) DeepCopyInto(out *HibernationOptionsParameters) { *out = *in + if in.Configured != nil { + in, out := &in.Configured, &out.Configured + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableParameters. -func (in *IngressRouteTableParameters) DeepCopy() *IngressRouteTableParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HibernationOptionsParameters. +func (in *HibernationOptionsParameters) DeepCopy() *HibernationOptionsParameters { if in == nil { return nil } - out := new(IngressRouteTableParameters) + out := new(HibernationOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Instance) DeepCopyInto(out *Instance) { +func (in *Host) DeepCopyInto(out *Host) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -14204,18 +14084,18 @@ func (in *Instance) DeepCopyInto(out *Instance) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance. -func (in *Instance) DeepCopy() *Instance { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host. +func (in *Host) DeepCopy() *Host { if in == nil { return nil } - out := new(Instance) + out := new(Host) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Instance) DeepCopyObject() runtime.Object { +func (in *Host) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -14223,45 +14103,40 @@ func (in *Instance) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEBSBlockDeviceInitParameters) DeepCopyInto(out *InstanceEBSBlockDeviceInitParameters) { +func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) + if in.AssetID != nil { + in, out := &in.AssetID, &out.AssetID + *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.AutoPlacement != nil { + in, out := &in.AutoPlacement, &out.AutoPlacement *out = new(string) **out = **in } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) **out = **in } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) + if in.HostRecovery != nil { + in, out := &in.HostRecovery, &out.HostRecovery + *out = new(string) **out = **in } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.InstanceFamily != nil { + in, out := &in.InstanceFamily, &out.InstanceFamily *out = new(string) **out = **in } - if in.KMSKeyIDRef != nil { - in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.KMSKeyIDSelector != nil { - in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.OutpostArn != nil { + in, out := &in.OutpostArn, &out.OutpostArn *out = new(string) **out = **in } @@ -14281,79 +14156,100 @@ func (in *InstanceEBSBlockDeviceInitParameters) DeepCopyInto(out *InstanceEBSBlo (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostInitParameters. +func (in *HostInitParameters) DeepCopy() *HostInitParameters { + if in == nil { + return nil } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in + out := new(HostInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostList) DeepCopyInto(out *HostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Host, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceInitParameters. -func (in *InstanceEBSBlockDeviceInitParameters) DeepCopy() *InstanceEBSBlockDeviceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList. +func (in *HostList) DeepCopy() *HostList { if in == nil { return nil } - out := new(InstanceEBSBlockDeviceInitParameters) + out := new(HostList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEBSBlockDeviceObservation) DeepCopyInto(out *InstanceEBSBlockDeviceObservation) { +func (in *HostObservation) DeepCopyInto(out *HostObservation) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.AssetID != nil { + in, out := &in.AssetID, &out.AssetID *out = new(string) **out = **in } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) + if in.AutoPlacement != nil { + in, out := &in.AutoPlacement, &out.AutoPlacement + *out = new(string) **out = **in } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) **out = **in } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.HostRecovery != nil { + in, out := &in.HostRecovery, &out.HostRecovery *out = new(string) **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InstanceFamily != nil { + in, out := &in.InstanceFamily, &out.InstanceFamily + *out = new(string) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.OutpostArn != nil { + in, out := &in.OutpostArn, &out.OutpostArn + *out = new(string) + **out = **in + } + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } @@ -14389,78 +14285,58 @@ func (in *InstanceEBSBlockDeviceObservation) DeepCopyInto(out *InstanceEBSBlockD (*out)[key] = outVal } } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeID != nil { - in, out := &in.VolumeID, &out.VolumeID - *out = new(string) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceObservation. -func (in *InstanceEBSBlockDeviceObservation) DeepCopy() *InstanceEBSBlockDeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostObservation. +func (in *HostObservation) DeepCopy() *HostObservation { if in == nil { return nil } - out := new(InstanceEBSBlockDeviceObservation) + out := new(HostObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEBSBlockDeviceParameters) DeepCopyInto(out *InstanceEBSBlockDeviceParameters) { +func (in *HostParameters) DeepCopyInto(out *HostParameters) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) + if in.AssetID != nil { + in, out := &in.AssetID, &out.AssetID + *out = new(string) **out = **in } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.AutoPlacement != nil { + in, out := &in.AutoPlacement, &out.AutoPlacement *out = new(string) **out = **in } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) **out = **in } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) + if in.HostRecovery != nil { + in, out := &in.HostRecovery, &out.HostRecovery + *out = new(string) **out = **in } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.InstanceFamily != nil { + in, out := &in.InstanceFamily, &out.InstanceFamily *out = new(string) **out = **in } - if in.KMSKeyIDRef != nil { - in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in } - if in.KMSKeyIDSelector != nil { - in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.OutpostArn != nil { + in, out := &in.OutpostArn, &out.OutpostArn + *out = new(string) + **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } @@ -14480,835 +14356,1047 @@ func (in *InstanceEBSBlockDeviceParameters) DeepCopyInto(out *InstanceEBSBlockDe (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceParameters. -func (in *InstanceEBSBlockDeviceParameters) DeepCopy() *InstanceEBSBlockDeviceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostParameters. +func (in *HostParameters) DeepCopy() *HostParameters { if in == nil { return nil } - out := new(InstanceEBSBlockDeviceParameters) + out := new(HostParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEphemeralBlockDeviceInitParameters) DeepCopyInto(out *InstanceEphemeralBlockDeviceInitParameters) { +func (in *HostSpec) DeepCopyInto(out *HostSpec) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.NoDevice != nil { - in, out := &in.NoDevice, &out.NoDevice - *out = new(bool) - **out = **in - } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName - *out = new(string) - **out = **in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec. +func (in *HostSpec) DeepCopy() *HostSpec { + if in == nil { + return nil } + out := new(HostSpec) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceInitParameters. -func (in *InstanceEphemeralBlockDeviceInitParameters) DeepCopy() *InstanceEphemeralBlockDeviceInitParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostStatus) DeepCopyInto(out *HostStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus. +func (in *HostStatus) DeepCopy() *HostStatus { if in == nil { return nil } - out := new(InstanceEphemeralBlockDeviceInitParameters) + out := new(HostStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEphemeralBlockDeviceObservation) DeepCopyInto(out *InstanceEphemeralBlockDeviceObservation) { +func (in *IAMInstanceProfileInitParameters) DeepCopyInto(out *IAMInstanceProfileInitParameters) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.NoDevice != nil { - in, out := &in.NoDevice, &out.NoDevice - *out = new(bool) - **out = **in + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceObservation. -func (in *InstanceEphemeralBlockDeviceObservation) DeepCopy() *InstanceEphemeralBlockDeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileInitParameters. +func (in *IAMInstanceProfileInitParameters) DeepCopy() *IAMInstanceProfileInitParameters { if in == nil { return nil } - out := new(InstanceEphemeralBlockDeviceObservation) + out := new(IAMInstanceProfileInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceEphemeralBlockDeviceParameters) DeepCopyInto(out *InstanceEphemeralBlockDeviceParameters) { +func (in *IAMInstanceProfileObservation) DeepCopyInto(out *IAMInstanceProfileObservation) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.NoDevice != nil { - in, out := &in.NoDevice, &out.NoDevice - *out = new(bool) - **out = **in - } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceParameters. -func (in *InstanceEphemeralBlockDeviceParameters) DeepCopy() *InstanceEphemeralBlockDeviceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileObservation. +func (in *IAMInstanceProfileObservation) DeepCopy() *IAMInstanceProfileObservation { if in == nil { return nil } - out := new(InstanceEphemeralBlockDeviceParameters) + out := new(IAMInstanceProfileObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { +func (in *IAMInstanceProfileParameters) DeepCopyInto(out *IAMInstanceProfileParameters) { *out = *in - if in.AMI != nil { - in, out := &in.AMI, &out.AMI + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(bool) - **out = **in + if in.ArnRef != nil { + in, out := &in.ArnRef, &out.ArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone + if in.ArnSelector != nil { + in, out := &in.ArnSelector, &out.ArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.CPUCoreCount != nil { - in, out := &in.CPUCoreCount, &out.CPUCoreCount + if in.NameRef != nil { + in, out := &in.NameRef, &out.NameRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NameSelector != nil { + in, out := &in.NameSelector, &out.NameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMInstanceProfileParameters. +func (in *IAMInstanceProfileParameters) DeepCopy() *IAMInstanceProfileParameters { + if in == nil { + return nil + } + out := new(IAMInstanceProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderDestinationPortRangesInitParameters) DeepCopyInto(out *InboundHeaderDestinationPortRangesInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesInitParameters. +func (in *InboundHeaderDestinationPortRangesInitParameters) DeepCopy() *InboundHeaderDestinationPortRangesInitParameters { + if in == nil { + return nil + } + out := new(InboundHeaderDestinationPortRangesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderDestinationPortRangesObservation) DeepCopyInto(out *InboundHeaderDestinationPortRangesObservation) { + *out = *in + if in.From != nil { + in, out := &in.From, &out.From *out = new(float64) **out = **in } - if in.CPUOptions != nil { - in, out := &in.CPUOptions, &out.CPUOptions - *out = make([]CPUOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CPUThreadsPerCore != nil { - in, out := &in.CPUThreadsPerCore, &out.CPUThreadsPerCore + if in.To != nil { + in, out := &in.To, &out.To *out = new(float64) **out = **in } - if in.CapacityReservationSpecification != nil { - in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification - *out = make([]CapacityReservationSpecificationInitParameters, len(*in)) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesObservation. +func (in *InboundHeaderDestinationPortRangesObservation) DeepCopy() *InboundHeaderDestinationPortRangesObservation { + if in == nil { + return nil + } + out := new(InboundHeaderDestinationPortRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderDestinationPortRangesParameters) DeepCopyInto(out *InboundHeaderDestinationPortRangesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderDestinationPortRangesParameters. +func (in *InboundHeaderDestinationPortRangesParameters) DeepCopy() *InboundHeaderDestinationPortRangesParameters { + if in == nil { + return nil + } + out := new(InboundHeaderDestinationPortRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderInitParameters) DeepCopyInto(out *InboundHeaderInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderInitParameters. +func (in *InboundHeaderInitParameters) DeepCopy() *InboundHeaderInitParameters { + if in == nil { + return nil + } + out := new(InboundHeaderInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderObservation) DeepCopyInto(out *InboundHeaderObservation) { + *out = *in + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.CreditSpecification != nil { - in, out := &in.CreditSpecification, &out.CreditSpecification - *out = make([]CreditSpecificationInitParameters, len(*in)) + if in.DestinationPortRanges != nil { + in, out := &in.DestinationPortRanges, &out.DestinationPortRanges + *out = make([]DestinationPortRangesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DisableAPIStop != nil { - in, out := &in.DisableAPIStop, &out.DisableAPIStop - *out = new(bool) + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) **out = **in } - if in.DisableAPITermination != nil { - in, out := &in.DisableAPITermination, &out.DisableAPITermination - *out = new(bool) - **out = **in + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.EBSBlockDevice != nil { - in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]InstanceEBSBlockDeviceInitParameters, len(*in)) + if in.SourcePortRanges != nil { + in, out := &in.SourcePortRanges, &out.SourcePortRanges + *out = make([]SourcePortRangesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EBSOptimized != nil { - in, out := &in.EBSOptimized, &out.EBSOptimized - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderObservation. +func (in *InboundHeaderObservation) DeepCopy() *InboundHeaderObservation { + if in == nil { + return nil } - if in.EnclaveOptions != nil { - in, out := &in.EnclaveOptions, &out.EnclaveOptions - *out = make([]EnclaveOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(InboundHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderParameters) DeepCopyInto(out *InboundHeaderParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderParameters. +func (in *InboundHeaderParameters) DeepCopy() *InboundHeaderParameters { + if in == nil { + return nil } - if in.EphemeralBlockDevice != nil { - in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]InstanceEphemeralBlockDeviceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(InboundHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderSourcePortRangesInitParameters) DeepCopyInto(out *InboundHeaderSourcePortRangesInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesInitParameters. +func (in *InboundHeaderSourcePortRangesInitParameters) DeepCopy() *InboundHeaderSourcePortRangesInitParameters { + if in == nil { + return nil } - if in.GetPasswordData != nil { - in, out := &in.GetPasswordData, &out.GetPasswordData - *out = new(bool) + out := new(InboundHeaderSourcePortRangesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderSourcePortRangesObservation) DeepCopyInto(out *InboundHeaderSourcePortRangesObservation) { + *out = *in + if in.From != nil { + in, out := &in.From, &out.From + *out = new(float64) **out = **in } - if in.Hibernation != nil { - in, out := &in.Hibernation, &out.Hibernation - *out = new(bool) + if in.To != nil { + in, out := &in.To, &out.To + *out = new(float64) **out = **in } - if in.HostID != nil { - in, out := &in.HostID, &out.HostID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesObservation. +func (in *InboundHeaderSourcePortRangesObservation) DeepCopy() *InboundHeaderSourcePortRangesObservation { + if in == nil { + return nil } - if in.HostResourceGroupArn != nil { - in, out := &in.HostResourceGroupArn, &out.HostResourceGroupArn + out := new(InboundHeaderSourcePortRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundHeaderSourcePortRangesParameters) DeepCopyInto(out *InboundHeaderSourcePortRangesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundHeaderSourcePortRangesParameters. +func (in *InboundHeaderSourcePortRangesParameters) DeepCopy() *InboundHeaderSourcePortRangesParameters { + if in == nil { + return nil + } + out := new(InboundHeaderSourcePortRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressInitParameters) DeepCopyInto(out *IngressInitParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action *out = new(string) **out = **in } - if in.IAMInstanceProfile != nil { - in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + if in.CidrBlockRef != nil { + in, out := &in.CidrBlockRef, &out.CidrBlockRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CidrBlockSelector != nil { + in, out := &in.CidrBlockSelector, &out.CidrBlockSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort *out = new(float64) **out = **in } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.InstanceInitiatedShutdownBehavior != nil { - in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.InstanceMarketOptions != nil { - in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions - *out = make([]InstanceMarketOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) + **out = **in } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) **out = **in } - if in.KeyName != nil { - in, out := &in.KeyName, &out.KeyName + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.LaunchTemplate != nil { - in, out := &in.LaunchTemplate, &out.LaunchTemplate - *out = make([]LaunchTemplateInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RuleNo != nil { + in, out := &in.RuleNo, &out.RuleNo + *out = new(float64) + **out = **in } - if in.MaintenanceOptions != nil { - in, out := &in.MaintenanceOptions, &out.MaintenanceOptions - *out = make([]MaintenanceOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in } - if in.MetadataOptions != nil { - in, out := &in.MetadataOptions, &out.MetadataOptions - *out = make([]MetadataOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressInitParameters. +func (in *IngressInitParameters) DeepCopy() *IngressInitParameters { + if in == nil { + return nil } - if in.Monitoring != nil { - in, out := &in.Monitoring, &out.Monitoring - *out = new(bool) + out := new(IngressInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressObservation) DeepCopyInto(out *IngressObservation) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) **out = **in } - if in.NetworkInterface != nil { - in, out := &in.NetworkInterface, &out.NetworkInterface - *out = make([]InstanceNetworkInterfaceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock + *out = new(string) + **out = **in } - if in.PlacementGroup != nil { - in, out := &in.PlacementGroup, &out.PlacementGroup + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.PlacementPartitionNumber != nil { - in, out := &in.PlacementPartitionNumber, &out.PlacementPartitionNumber + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode *out = new(float64) **out = **in } - if in.PrivateDNSNameOptions != nil { - in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions - *out = make([]PrivateDNSNameOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) + **out = **in } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.RootBlockDevice != nil { - in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]RootBlockDeviceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.RuleNo != nil { + in, out := &in.RuleNo, &out.RuleNo + *out = new(float64) + **out = **in } - if in.SecondaryPrivateIps != nil { - in, out := &in.SecondaryPrivateIps, &out.SecondaryPrivateIps - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in } - if in.SourceDestCheck != nil { - in, out := &in.SourceDestCheck, &out.SourceDestCheck - *out = new(bool) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressObservation. +func (in *IngressObservation) DeepCopy() *IngressObservation { + if in == nil { + return nil + } + out := new(IngressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressParameters) DeepCopyInto(out *IngressParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef + if in.CidrBlockRef != nil { + in, out := &in.CidrBlockRef, &out.CidrBlockRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + if in.CidrBlockSelector != nil { + in, out := &in.CidrBlockSelector, &out.CidrBlockSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Tenancy != nil { - in, out := &in.Tenancy, &out.Tenancy - *out = new(string) + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) **out = **in } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.UserDataBase64 != nil { - in, out := &in.UserDataBase64, &out.UserDataBase64 - *out = new(string) + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) **out = **in } - if in.UserDataReplaceOnChange != nil { - in, out := &in.UserDataReplaceOnChange, &out.UserDataReplaceOnChange - *out = new(bool) + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) **out = **in } - if in.VPCSecurityGroupIDRefs != nil { - in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VPCSecurityGroupIDSelector != nil { - in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in } - if in.VPCSecurityGroupIds != nil { - in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.RuleNo != nil { + in, out := &in.RuleNo, &out.RuleNo + *out = new(float64) + **out = **in } - if in.VolumeTags != nil { - in, out := &in.VolumeTags, &out.VolumeTags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters. -func (in *InstanceInitParameters) DeepCopy() *InstanceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressParameters. +func (in *IngressParameters) DeepCopy() *IngressParameters { if in == nil { return nil } - out := new(InstanceInitParameters) + out := new(IngressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceList) DeepCopyInto(out *InstanceList) { +func (in *IngressRouteTableInitParameters) DeepCopyInto(out *IngressRouteTableInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Instance, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList. -func (in *InstanceList) DeepCopy() *InstanceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableInitParameters. +func (in *IngressRouteTableInitParameters) DeepCopy() *IngressRouteTableInitParameters { if in == nil { return nil } - out := new(InstanceList) + out := new(IngressRouteTableInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *InstanceList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsInitParameters) DeepCopyInto(out *InstanceMarketOptionsInitParameters) { +func (in *IngressRouteTableObservation) DeepCopyInto(out *IngressRouteTableObservation) { *out = *in - if in.MarketType != nil { - in, out := &in.MarketType, &out.MarketType + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.SpotOptions != nil { - in, out := &in.SpotOptions, &out.SpotOptions - *out = make([]SpotOptionsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsInitParameters. -func (in *InstanceMarketOptionsInitParameters) DeepCopy() *InstanceMarketOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableObservation. +func (in *IngressRouteTableObservation) DeepCopy() *IngressRouteTableObservation { if in == nil { return nil } - out := new(InstanceMarketOptionsInitParameters) + out := new(IngressRouteTableObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsObservation) DeepCopyInto(out *InstanceMarketOptionsObservation) { +func (in *IngressRouteTableParameters) DeepCopyInto(out *IngressRouteTableParameters) { *out = *in - if in.MarketType != nil { - in, out := &in.MarketType, &out.MarketType - *out = new(string) - **out = **in - } - if in.SpotOptions != nil { - in, out := &in.SpotOptions, &out.SpotOptions - *out = make([]SpotOptionsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsObservation. -func (in *InstanceMarketOptionsObservation) DeepCopy() *InstanceMarketOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTableParameters. +func (in *IngressRouteTableParameters) DeepCopy() *IngressRouteTableParameters { if in == nil { return nil } - out := new(InstanceMarketOptionsObservation) + out := new(IngressRouteTableParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsParameters) DeepCopyInto(out *InstanceMarketOptionsParameters) { +func (in *Instance) DeepCopyInto(out *Instance) { *out = *in - if in.MarketType != nil { - in, out := &in.MarketType, &out.MarketType - *out = new(string) - **out = **in - } - if in.SpotOptions != nil { - in, out := &in.SpotOptions, &out.SpotOptions - *out = make([]SpotOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsParameters. -func (in *InstanceMarketOptionsParameters) DeepCopy() *InstanceMarketOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance. +func (in *Instance) DeepCopy() *Instance { if in == nil { return nil } - out := new(InstanceMarketOptionsParameters) + out := new(Instance) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Instance) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsSpotOptionsInitParameters) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsInitParameters) { +func (in *InstanceEBSBlockDeviceInitParameters) DeepCopyInto(out *InstanceEBSBlockDeviceInitParameters) { *out = *in - if in.BlockDurationMinutes != nil { - in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes - *out = new(float64) + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) **out = **in } - if in.InstanceInterruptionBehavior != nil { - in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName *out = new(string) **out = **in } - if in.MaxPrice != nil { - in, out := &in.MaxPrice, &out.MaxPrice - *out = new(string) - **out = **in - } - if in.SpotInstanceType != nil { - in, out := &in.SpotInstanceType, &out.SpotInstanceType - *out = new(string) - **out = **in - } - if in.ValidUntil != nil { - in, out := &in.ValidUntil, &out.ValidUntil - *out = new(string) + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsInitParameters. -func (in *InstanceMarketOptionsSpotOptionsInitParameters) DeepCopy() *InstanceMarketOptionsSpotOptionsInitParameters { - if in == nil { - return nil - } - out := new(InstanceMarketOptionsSpotOptionsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsSpotOptionsObservation) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsObservation) { - *out = *in - if in.BlockDurationMinutes != nil { - in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes + if in.Iops != nil { + in, out := &in.Iops, &out.Iops *out = new(float64) **out = **in } - if in.InstanceInterruptionBehavior != nil { - in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.MaxPrice != nil { - in, out := &in.MaxPrice, &out.MaxPrice - *out = new(string) - **out = **in + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.SpotInstanceType != nil { - in, out := &in.SpotInstanceType, &out.SpotInstanceType - *out = new(string) - **out = **in + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.ValidUntil != nil { - in, out := &in.ValidUntil, &out.ValidUntil + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsObservation. -func (in *InstanceMarketOptionsSpotOptionsObservation) DeepCopy() *InstanceMarketOptionsSpotOptionsObservation { - if in == nil { - return nil - } - out := new(InstanceMarketOptionsSpotOptionsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceMarketOptionsSpotOptionsParameters) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsParameters) { - *out = *in - if in.BlockDurationMinutes != nil { - in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes - *out = new(float64) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.InstanceInterruptionBehavior != nil { - in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior - *out = new(string) - **out = **in + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.MaxPrice != nil { - in, out := &in.MaxPrice, &out.MaxPrice - *out = new(string) + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) **out = **in } - if in.SpotInstanceType != nil { - in, out := &in.SpotInstanceType, &out.SpotInstanceType - *out = new(string) + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) **out = **in } - if in.ValidUntil != nil { - in, out := &in.ValidUntil, &out.ValidUntil + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsParameters. -func (in *InstanceMarketOptionsSpotOptionsParameters) DeepCopy() *InstanceMarketOptionsSpotOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceInitParameters. +func (in *InstanceEBSBlockDeviceInitParameters) DeepCopy() *InstanceEBSBlockDeviceInitParameters { if in == nil { return nil } - out := new(InstanceMarketOptionsSpotOptionsParameters) + out := new(InstanceEBSBlockDeviceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceNetworkInterfaceInitParameters) DeepCopyInto(out *InstanceNetworkInterfaceInitParameters) { +func (in *InstanceEBSBlockDeviceObservation) DeepCopyInto(out *InstanceEBSBlockDeviceObservation) { *out = *in if in.DeleteOnTermination != nil { in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(bool) **out = **in } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) **out = **in } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops *out = new(float64) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceInitParameters. -func (in *InstanceNetworkInterfaceInitParameters) DeepCopy() *InstanceNetworkInterfaceInitParameters { - if in == nil { - return nil + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out := new(InstanceNetworkInterfaceInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceNetworkInterfaceObservation) DeepCopyInto(out *InstanceNetworkInterfaceObservation) { - *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) **out = **in } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) + if in.VolumeID != nil { + in, out := &in.VolumeID, &out.VolumeID + *out = new(string) **out = **in } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize *out = new(float64) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceObservation. -func (in *InstanceNetworkInterfaceObservation) DeepCopy() *InstanceNetworkInterfaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceObservation. +func (in *InstanceEBSBlockDeviceObservation) DeepCopy() *InstanceEBSBlockDeviceObservation { if in == nil { return nil } - out := new(InstanceNetworkInterfaceObservation) + out := new(InstanceEBSBlockDeviceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceNetworkInterfaceParameters) DeepCopyInto(out *InstanceNetworkInterfaceParameters) { +func (in *InstanceEBSBlockDeviceParameters) DeepCopyInto(out *InstanceEBSBlockDeviceParameters) { *out = *in if in.DeleteOnTermination != nil { in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(bool) **out = **in } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) **out = **in } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops *out = new(float64) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + if in.KMSKeyIDRef != nil { + in, out := &in.KMSKeyIDRef, &out.KMSKeyIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + if in.KMSKeyIDSelector != nil { + in, out := &in.KMSKeyIDSelector, &out.KMSKeyIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceParameters. -func (in *InstanceNetworkInterfaceParameters) DeepCopy() *InstanceNetworkInterfaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEBSBlockDeviceParameters. +func (in *InstanceEBSBlockDeviceParameters) DeepCopy() *InstanceEBSBlockDeviceParameters { if in == nil { return nil } - out := new(InstanceNetworkInterfaceParameters) + out := new(InstanceEBSBlockDeviceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { +func (in *InstanceEphemeralBlockDeviceInitParameters) DeepCopyInto(out *InstanceEphemeralBlockDeviceInitParameters) { *out = *in - if in.AMI != nil { - in, out := &in.AMI, &out.AMI + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName *out = new(string) **out = **in } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.NoDevice != nil { + in, out := &in.NoDevice, &out.NoDevice + *out = new(bool) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceInitParameters. +func (in *InstanceEphemeralBlockDeviceInitParameters) DeepCopy() *InstanceEphemeralBlockDeviceInitParameters { + if in == nil { + return nil + } + out := new(InstanceEphemeralBlockDeviceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceEphemeralBlockDeviceObservation) DeepCopyInto(out *InstanceEphemeralBlockDeviceObservation) { + *out = *in + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.NoDevice != nil { + in, out := &in.NoDevice, &out.NoDevice + *out = new(bool) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceObservation. +func (in *InstanceEphemeralBlockDeviceObservation) DeepCopy() *InstanceEphemeralBlockDeviceObservation { + if in == nil { + return nil + } + out := new(InstanceEphemeralBlockDeviceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceEphemeralBlockDeviceParameters) DeepCopyInto(out *InstanceEphemeralBlockDeviceParameters) { + *out = *in + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.NoDevice != nil { + in, out := &in.NoDevice, &out.NoDevice + *out = new(bool) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceEphemeralBlockDeviceParameters. +func (in *InstanceEphemeralBlockDeviceParameters) DeepCopy() *InstanceEphemeralBlockDeviceParameters { + if in == nil { + return nil + } + out := new(InstanceEphemeralBlockDeviceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { + *out = *in + if in.AMI != nil { + in, out := &in.AMI, &out.AMI *out = new(string) **out = **in } @@ -15329,7 +15417,7 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.CPUOptions != nil { in, out := &in.CPUOptions, &out.CPUOptions - *out = make([]CPUOptionsObservation, len(*in)) + *out = make([]CPUOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15341,14 +15429,14 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.CapacityReservationSpecification != nil { in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification - *out = make([]CapacityReservationSpecificationObservation, len(*in)) + *out = make([]CapacityReservationSpecificationInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.CreditSpecification != nil { in, out := &in.CreditSpecification, &out.CreditSpecification - *out = make([]CreditSpecificationObservation, len(*in)) + *out = make([]CreditSpecificationInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15365,7 +15453,7 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.EBSBlockDevice != nil { in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]InstanceEBSBlockDeviceObservation, len(*in)) + *out = make([]InstanceEBSBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15377,14 +15465,14 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.EnclaveOptions != nil { in, out := &in.EnclaveOptions, &out.EnclaveOptions - *out = make([]EnclaveOptionsObservation, len(*in)) + *out = make([]EnclaveOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.EphemeralBlockDevice != nil { in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]InstanceEphemeralBlockDeviceObservation, len(*in)) + *out = make([]InstanceEphemeralBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15414,11 +15502,6 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } if in.IPv6AddressCount != nil { in, out := &in.IPv6AddressCount, &out.IPv6AddressCount *out = new(float64) @@ -15440,23 +15523,13 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = new(string) **out = **in } - if in.InstanceLifecycle != nil { - in, out := &in.InstanceLifecycle, &out.InstanceLifecycle - *out = new(string) - **out = **in - } if in.InstanceMarketOptions != nil { in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions - *out = make([]InstanceMarketOptionsObservation, len(*in)) + *out = make([]InstanceMarketOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.InstanceState != nil { - in, out := &in.InstanceState, &out.InstanceState - *out = new(string) - **out = **in - } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) @@ -15469,21 +15542,21 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.LaunchTemplate != nil { in, out := &in.LaunchTemplate, &out.LaunchTemplate - *out = make([]LaunchTemplateObservation, len(*in)) + *out = make([]LaunchTemplateInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.MaintenanceOptions != nil { in, out := &in.MaintenanceOptions, &out.MaintenanceOptions - *out = make([]MaintenanceOptionsObservation, len(*in)) + *out = make([]MaintenanceOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.MetadataOptions != nil { in, out := &in.MetadataOptions, &out.MetadataOptions - *out = make([]MetadataOptionsObservation, len(*in)) + *out = make([]MetadataOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15495,21 +15568,11 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } if in.NetworkInterface != nil { in, out := &in.NetworkInterface, &out.NetworkInterface - *out = make([]InstanceNetworkInterfaceObservation, len(*in)) + *out = make([]InstanceNetworkInterfaceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.OutpostArn != nil { - in, out := &in.OutpostArn, &out.OutpostArn - *out = new(string) - **out = **in - } - if in.PasswordData != nil { - in, out := &in.PasswordData, &out.PasswordData - *out = new(string) - **out = **in - } if in.PlacementGroup != nil { in, out := &in.PlacementGroup, &out.PlacementGroup *out = new(string) @@ -15520,19 +15583,9 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = new(float64) **out = **in } - if in.PrimaryNetworkInterfaceID != nil { - in, out := &in.PrimaryNetworkInterfaceID, &out.PrimaryNetworkInterfaceID - *out = new(string) - **out = **in - } - if in.PrivateDNS != nil { - in, out := &in.PrivateDNS, &out.PrivateDNS - *out = new(string) - **out = **in - } if in.PrivateDNSNameOptions != nil { in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions - *out = make([]PrivateDNSNameOptionsObservation, len(*in)) + *out = make([]PrivateDNSNameOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15542,19 +15595,9 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = new(string) **out = **in } - if in.PublicDNS != nil { - in, out := &in.PublicDNS, &out.PublicDNS - *out = new(string) - **out = **in - } - if in.PublicIP != nil { - in, out := &in.PublicIP, &out.PublicIP - *out = new(string) - **out = **in - } if in.RootBlockDevice != nil { in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]RootBlockDeviceObservation, len(*in)) + *out = make([]RootBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15570,32 +15613,26 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } } } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } if in.SourceDestCheck != nil { in, out := &in.SourceDestCheck, &out.SourceDestCheck *out = new(bool) **out = **in } - if in.SpotInstanceRequestID != nil { - in, out := &in.SpotInstanceRequestID, &out.SpotInstanceRequestID - *out = new(string) - **out = **in - } if in.SubnetID != nil { in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -15612,22 +15649,6 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } if in.Tenancy != nil { in, out := &in.Tenancy, &out.Tenancy *out = new(string) @@ -15648,6 +15669,18 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = new(bool) **out = **in } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.VPCSecurityGroupIds != nil { in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds *out = make([]*string, len(*in)) @@ -15677,586 +15710,501 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation. -func (in *InstanceObservation) DeepCopy() *InstanceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters. +func (in *InstanceInitParameters) DeepCopy() *InstanceInitParameters { if in == nil { return nil } - out := new(InstanceObservation) + out := new(InstanceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { +func (in *InstanceList) DeepCopyInto(out *InstanceList) { *out = *in - if in.AMI != nil { - in, out := &in.AMI, &out.AMI - *out = new(string) - **out = **in - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(bool) - **out = **in - } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone - *out = new(string) - **out = **in - } - if in.CPUCoreCount != nil { - in, out := &in.CPUCoreCount, &out.CPUCoreCount - *out = new(float64) - **out = **in - } - if in.CPUOptions != nil { - in, out := &in.CPUOptions, &out.CPUOptions - *out = make([]CPUOptionsParameters, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Instance, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.CPUThreadsPerCore != nil { - in, out := &in.CPUThreadsPerCore, &out.CPUThreadsPerCore - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList. +func (in *InstanceList) DeepCopy() *InstanceList { + if in == nil { + return nil } - if in.CapacityReservationSpecification != nil { - in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification - *out = make([]CapacityReservationSpecificationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(InstanceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InstanceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.CreditSpecification != nil { - in, out := &in.CreditSpecification, &out.CreditSpecification - *out = make([]CreditSpecificationParameters, len(*in)) + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsInitParameters) DeepCopyInto(out *InstanceMarketOptionsInitParameters) { + *out = *in + if in.MarketType != nil { + in, out := &in.MarketType, &out.MarketType + *out = new(string) + **out = **in + } + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = make([]SpotOptionsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.DisableAPIStop != nil { - in, out := &in.DisableAPIStop, &out.DisableAPIStop - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsInitParameters. +func (in *InstanceMarketOptionsInitParameters) DeepCopy() *InstanceMarketOptionsInitParameters { + if in == nil { + return nil } - if in.DisableAPITermination != nil { - in, out := &in.DisableAPITermination, &out.DisableAPITermination - *out = new(bool) + out := new(InstanceMarketOptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsObservation) DeepCopyInto(out *InstanceMarketOptionsObservation) { + *out = *in + if in.MarketType != nil { + in, out := &in.MarketType, &out.MarketType + *out = new(string) **out = **in } - if in.EBSBlockDevice != nil { - in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]InstanceEBSBlockDeviceParameters, len(*in)) + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = make([]SpotOptionsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EBSOptimized != nil { - in, out := &in.EBSOptimized, &out.EBSOptimized - *out = new(bool) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsObservation. +func (in *InstanceMarketOptionsObservation) DeepCopy() *InstanceMarketOptionsObservation { + if in == nil { + return nil + } + out := new(InstanceMarketOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsParameters) DeepCopyInto(out *InstanceMarketOptionsParameters) { + *out = *in + if in.MarketType != nil { + in, out := &in.MarketType, &out.MarketType + *out = new(string) **out = **in } - if in.EnclaveOptions != nil { - in, out := &in.EnclaveOptions, &out.EnclaveOptions - *out = make([]EnclaveOptionsParameters, len(*in)) + if in.SpotOptions != nil { + in, out := &in.SpotOptions, &out.SpotOptions + *out = make([]SpotOptionsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.EphemeralBlockDevice != nil { - in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]InstanceEphemeralBlockDeviceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsParameters. +func (in *InstanceMarketOptionsParameters) DeepCopy() *InstanceMarketOptionsParameters { + if in == nil { + return nil } - if in.GetPasswordData != nil { - in, out := &in.GetPasswordData, &out.GetPasswordData - *out = new(bool) + out := new(InstanceMarketOptionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsSpotOptionsInitParameters) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsInitParameters) { + *out = *in + if in.BlockDurationMinutes != nil { + in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes + *out = new(float64) **out = **in } - if in.Hibernation != nil { - in, out := &in.Hibernation, &out.Hibernation - *out = new(bool) + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior + *out = new(string) **out = **in } - if in.HostID != nil { - in, out := &in.HostID, &out.HostID + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice *out = new(string) **out = **in } - if in.HostResourceGroupArn != nil { - in, out := &in.HostResourceGroupArn, &out.HostResourceGroupArn + if in.SpotInstanceType != nil { + in, out := &in.SpotInstanceType, &out.SpotInstanceType *out = new(string) **out = **in } - if in.IAMInstanceProfile != nil { - in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil *out = new(string) **out = **in } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsInitParameters. +func (in *InstanceMarketOptionsSpotOptionsInitParameters) DeepCopy() *InstanceMarketOptionsSpotOptionsInitParameters { + if in == nil { + return nil + } + out := new(InstanceMarketOptionsSpotOptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsSpotOptionsObservation) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsObservation) { + *out = *in + if in.BlockDurationMinutes != nil { + in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes *out = new(float64) **out = **in } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.InstanceInitiatedShutdownBehavior != nil { - in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior *out = new(string) **out = **in } - if in.InstanceMarketOptions != nil { - in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions - *out = make([]InstanceMarketOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice *out = new(string) **out = **in } - if in.KeyName != nil { - in, out := &in.KeyName, &out.KeyName + if in.SpotInstanceType != nil { + in, out := &in.SpotInstanceType, &out.SpotInstanceType *out = new(string) **out = **in } - if in.LaunchTemplate != nil { - in, out := &in.LaunchTemplate, &out.LaunchTemplate - *out = make([]LaunchTemplateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MaintenanceOptions != nil { - in, out := &in.MaintenanceOptions, &out.MaintenanceOptions - *out = make([]MaintenanceOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MetadataOptions != nil { - in, out := &in.MetadataOptions, &out.MetadataOptions - *out = make([]MetadataOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Monitoring != nil { - in, out := &in.Monitoring, &out.Monitoring - *out = new(bool) - **out = **in - } - if in.NetworkInterface != nil { - in, out := &in.NetworkInterface, &out.NetworkInterface - *out = make([]InstanceNetworkInterfaceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.PlacementGroup != nil { - in, out := &in.PlacementGroup, &out.PlacementGroup + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil *out = new(string) **out = **in } - if in.PlacementPartitionNumber != nil { - in, out := &in.PlacementPartitionNumber, &out.PlacementPartitionNumber +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsObservation. +func (in *InstanceMarketOptionsSpotOptionsObservation) DeepCopy() *InstanceMarketOptionsSpotOptionsObservation { + if in == nil { + return nil + } + out := new(InstanceMarketOptionsSpotOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceMarketOptionsSpotOptionsParameters) DeepCopyInto(out *InstanceMarketOptionsSpotOptionsParameters) { + *out = *in + if in.BlockDurationMinutes != nil { + in, out := &in.BlockDurationMinutes, &out.BlockDurationMinutes *out = new(float64) **out = **in } - if in.PrivateDNSNameOptions != nil { - in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions - *out = make([]PrivateDNSNameOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.InstanceInterruptionBehavior != nil { + in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice *out = new(string) **out = **in } - if in.RootBlockDevice != nil { - in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]RootBlockDeviceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecondaryPrivateIps != nil { - in, out := &in.SecondaryPrivateIps, &out.SecondaryPrivateIps - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SourceDestCheck != nil { - in, out := &in.SourceDestCheck, &out.SourceDestCheck - *out = new(bool) + if in.SpotInstanceType != nil { + in, out := &in.SpotInstanceType, &out.SpotInstanceType + *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.ValidUntil != nil { + in, out := &in.ValidUntil, &out.ValidUntil *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMarketOptionsSpotOptionsParameters. +func (in *InstanceMarketOptionsSpotOptionsParameters) DeepCopy() *InstanceMarketOptionsSpotOptionsParameters { + if in == nil { + return nil } - if in.Tenancy != nil { - in, out := &in.Tenancy, &out.Tenancy - *out = new(string) + out := new(InstanceMarketOptionsSpotOptionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceNetworkInterfaceInitParameters) DeepCopyInto(out *InstanceNetworkInterfaceInitParameters) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) **out = **in } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData - *out = new(string) + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) **out = **in } - if in.UserDataBase64 != nil { - in, out := &in.UserDataBase64, &out.UserDataBase64 - *out = new(string) + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + *out = new(float64) **out = **in } - if in.UserDataReplaceOnChange != nil { - in, out := &in.UserDataReplaceOnChange, &out.UserDataReplaceOnChange - *out = new(bool) + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) **out = **in } - if in.VPCSecurityGroupIDRefs != nil { - in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.VPCSecurityGroupIDSelector != nil { - in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.VPCSecurityGroupIds != nil { - in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.VolumeTags != nil { - in, out := &in.VolumeTags, &out.VolumeTags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters. -func (in *InstanceParameters) DeepCopy() *InstanceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceInitParameters. +func (in *InstanceNetworkInterfaceInitParameters) DeepCopy() *InstanceNetworkInterfaceInitParameters { if in == nil { return nil } - out := new(InstanceParameters) + out := new(InstanceNetworkInterfaceInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorCountInitParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorCountInitParameters) { +func (in *InstanceNetworkInterfaceObservation) DeepCopyInto(out *InstanceNetworkInterfaceObservation) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) + **out = **in + } + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex *out = new(float64) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex *out = new(float64) **out = **in } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountInitParameters. -func (in *InstanceRequirementsAcceleratorCountInitParameters) DeepCopy() *InstanceRequirementsAcceleratorCountInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceObservation. +func (in *InstanceNetworkInterfaceObservation) DeepCopy() *InstanceNetworkInterfaceObservation { if in == nil { return nil } - out := new(InstanceRequirementsAcceleratorCountInitParameters) + out := new(InstanceNetworkInterfaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorCountObservation) DeepCopyInto(out *InstanceRequirementsAcceleratorCountObservation) { +func (in *InstanceNetworkInterfaceParameters) DeepCopyInto(out *InstanceNetworkInterfaceParameters) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) + **out = **in + } + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex *out = new(float64) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountObservation. -func (in *InstanceRequirementsAcceleratorCountObservation) DeepCopy() *InstanceRequirementsAcceleratorCountObservation { - if in == nil { - return nil - } - out := new(InstanceRequirementsAcceleratorCountObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorCountParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorCountParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountParameters. -func (in *InstanceRequirementsAcceleratorCountParameters) DeepCopy() *InstanceRequirementsAcceleratorCountParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNetworkInterfaceParameters. +func (in *InstanceNetworkInterfaceParameters) DeepCopy() *InstanceNetworkInterfaceParameters { if in == nil { return nil } - out := new(InstanceRequirementsAcceleratorCountParameters) + out := new(InstanceNetworkInterfaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) { +func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.AMI != nil { + in, out := &in.AMI, &out.AMI + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibInitParameters. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters { - if in == nil { - return nil + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress + *out = new(bool) + **out = **in } - out := new(InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibObservation) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.CPUCoreCount != nil { + in, out := &in.CPUCoreCount, &out.CPUCoreCount *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibObservation. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibObservation { - if in == nil { - return nil + if in.CPUOptions != nil { + in, out := &in.CPUOptions, &out.CPUOptions + *out = make([]CPUOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsAcceleratorTotalMemoryMibObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max + if in.CPUThreadsPerCore != nil { + in, out := &in.CPUThreadsPerCore, &out.CPUThreadsPerCore *out = new(float64) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in + if in.CapacityReservationSpecification != nil { + in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification + *out = make([]CapacityReservationSpecificationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibParameters. -func (in *InstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibParameters { - if in == nil { - return nil + if in.CreditSpecification != nil { + in, out := &in.CreditSpecification, &out.CreditSpecification + *out = make([]CreditSpecificationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsAcceleratorTotalMemoryMibParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.DisableAPIStop != nil { + in, out := &in.DisableAPIStop, &out.DisableAPIStop + *out = new(bool) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.DisableAPITermination != nil { + in, out := &in.DisableAPITermination, &out.DisableAPITermination + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters { - if in == nil { - return nil + if in.EBSBlockDevice != nil { + in, out := &in.EBSBlockDevice, &out.EBSBlockDevice + *out = make([]InstanceEBSBlockDeviceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.EBSOptimized != nil { + in, out := &in.EBSOptimized, &out.EBSOptimized + *out = new(bool) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.EnclaveOptions != nil { + in, out := &in.EnclaveOptions, &out.EnclaveOptions + *out = make([]EnclaveOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EphemeralBlockDevice != nil { + in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice + *out = make([]InstanceEphemeralBlockDeviceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GetPasswordData != nil { + in, out := &in.GetPasswordData, &out.GetPasswordData + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsObservation. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsObservation { - if in == nil { - return nil + if in.Hibernation != nil { + in, out := &in.Hibernation, &out.Hibernation + *out = new(bool) + **out = **in } - out := new(InstanceRequirementsBaselineEBSBandwidthMbpsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.HostID != nil { + in, out := &in.HostID, &out.HostID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.HostResourceGroupArn != nil { + in, out := &in.HostResourceGroupArn, &out.HostResourceGroupArn + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsParameters. -func (in *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsParameters { - if in == nil { - return nil + if in.IAMInstanceProfile != nil { + in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + *out = new(string) + **out = **in } - out := new(InstanceRequirementsBaselineEBSBandwidthMbpsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsInitParameters) DeepCopyInto(out *InstanceRequirementsInitParameters) { - *out = *in - if in.AcceleratorCount != nil { - in, out := &in.AcceleratorCount, &out.AcceleratorCount - *out = make([]AcceleratorCountInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in } - if in.AcceleratorManufacturers != nil { - in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + *out = new(float64) + **out = **in + } + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -16266,76 +16214,132 @@ func (in *InstanceRequirementsInitParameters) DeepCopyInto(out *InstanceRequirem } } } - if in.AcceleratorNames != nil { - in, out := &in.AcceleratorNames, &out.AcceleratorNames - *out = make([]*string, len(*in)) + if in.InstanceInitiatedShutdownBehavior != nil { + in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + *out = new(string) + **out = **in + } + if in.InstanceLifecycle != nil { + in, out := &in.InstanceLifecycle, &out.InstanceLifecycle + *out = new(string) + **out = **in + } + if in.InstanceMarketOptions != nil { + in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions + *out = make([]InstanceMarketOptionsObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.AcceleratorTotalMemoryMib != nil { - in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib - *out = make([]AcceleratorTotalMemoryMibInitParameters, len(*in)) + if in.InstanceState != nil { + in, out := &in.InstanceState, &out.InstanceState + *out = new(string) + **out = **in + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.LaunchTemplate != nil { + in, out := &in.LaunchTemplate, &out.LaunchTemplate + *out = make([]LaunchTemplateObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.AcceleratorTypes != nil { - in, out := &in.AcceleratorTypes, &out.AcceleratorTypes - *out = make([]*string, len(*in)) + if in.MaintenanceOptions != nil { + in, out := &in.MaintenanceOptions, &out.MaintenanceOptions + *out = make([]MaintenanceOptionsObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.AllowedInstanceTypes != nil { - in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes - *out = make([]*string, len(*in)) + if in.MetadataOptions != nil { + in, out := &in.MetadataOptions, &out.MetadataOptions + *out = make([]MetadataOptionsObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.BareMetal != nil { - in, out := &in.BareMetal, &out.BareMetal + if in.Monitoring != nil { + in, out := &in.Monitoring, &out.Monitoring + *out = new(bool) + **out = **in + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]InstanceNetworkInterfaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OutpostArn != nil { + in, out := &in.OutpostArn, &out.OutpostArn *out = new(string) **out = **in } - if in.BaselineEBSBandwidthMbps != nil { - in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps - *out = make([]BaselineEBSBandwidthMbpsInitParameters, len(*in)) + if in.PasswordData != nil { + in, out := &in.PasswordData, &out.PasswordData + *out = new(string) + **out = **in + } + if in.PlacementGroup != nil { + in, out := &in.PlacementGroup, &out.PlacementGroup + *out = new(string) + **out = **in + } + if in.PlacementPartitionNumber != nil { + in, out := &in.PlacementPartitionNumber, &out.PlacementPartitionNumber + *out = new(float64) + **out = **in + } + if in.PrimaryNetworkInterfaceID != nil { + in, out := &in.PrimaryNetworkInterfaceID, &out.PrimaryNetworkInterfaceID + *out = new(string) + **out = **in + } + if in.PrivateDNS != nil { + in, out := &in.PrivateDNS, &out.PrivateDNS + *out = new(string) + **out = **in + } + if in.PrivateDNSNameOptions != nil { + in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions + *out = make([]PrivateDNSNameOptionsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.BurstablePerformance != nil { - in, out := &in.BurstablePerformance, &out.BurstablePerformance + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP *out = new(string) **out = **in } - if in.CPUManufacturers != nil { - in, out := &in.CPUManufacturers, &out.CPUManufacturers - *out = make([]*string, len(*in)) + if in.PublicDNS != nil { + in, out := &in.PublicDNS, &out.PublicDNS + *out = new(string) + **out = **in + } + if in.PublicIP != nil { + in, out := &in.PublicIP, &out.PublicIP + *out = new(string) + **out = **in + } + if in.RootBlockDevice != nil { + in, out := &in.RootBlockDevice, &out.RootBlockDevice + *out = make([]RootBlockDeviceObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ExcludedInstanceTypes != nil { - in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes + if in.SecondaryPrivateIps != nil { + in, out := &in.SecondaryPrivateIps, &out.SecondaryPrivateIps *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -16345,8 +16349,8 @@ func (in *InstanceRequirementsInitParameters) DeepCopyInto(out *InstanceRequirem } } } - if in.InstanceGenerations != nil { - in, out := &in.InstanceGenerations, &out.InstanceGenerations + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -16356,298 +16360,447 @@ func (in *InstanceRequirementsInitParameters) DeepCopyInto(out *InstanceRequirem } } } - if in.LocalStorage != nil { - in, out := &in.LocalStorage, &out.LocalStorage + if in.SourceDestCheck != nil { + in, out := &in.SourceDestCheck, &out.SourceDestCheck + *out = new(bool) + **out = **in + } + if in.SpotInstanceRequestID != nil { + in, out := &in.SpotInstanceRequestID, &out.SpotInstanceRequestID *out = new(string) **out = **in } - if in.LocalStorageTypes != nil { - in, out := &in.LocalStorageTypes, &out.LocalStorageTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { - in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice - *out = new(float64) - **out = **in - } - if in.MemoryGibPerVcpu != nil { - in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu - *out = make([]MemoryGibPerVcpuInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryMib != nil { - in, out := &in.MemoryMib, &out.MemoryMib - *out = make([]MemoryMibInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.NetworkBandwidthGbps != nil { - in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps - *out = make([]NetworkBandwidthGbpsInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.NetworkInterfaceCount != nil { - in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount - *out = make([]NetworkInterfaceCountInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Tenancy != nil { + in, out := &in.Tenancy, &out.Tenancy + *out = new(string) + **out = **in } - if in.OnDemandMaxPricePercentageOverLowestPrice != nil { - in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice - *out = new(float64) + if in.UserData != nil { + in, out := &in.UserData, &out.UserData + *out = new(string) **out = **in } - if in.RequireHibernateSupport != nil { - in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport - *out = new(bool) + if in.UserDataBase64 != nil { + in, out := &in.UserDataBase64, &out.UserDataBase64 + *out = new(string) **out = **in } - if in.SpotMaxPricePercentageOverLowestPrice != nil { - in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice - *out = new(float64) + if in.UserDataReplaceOnChange != nil { + in, out := &in.UserDataReplaceOnChange, &out.UserDataReplaceOnChange + *out = new(bool) **out = **in } - if in.TotalLocalStorageGb != nil { - in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb - *out = make([]TotalLocalStorageGbInitParameters, len(*in)) + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.VcpuCount != nil { - in, out := &in.VcpuCount, &out.VcpuCount - *out = make([]VcpuCountInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.VolumeTags != nil { + in, out := &in.VolumeTags, &out.VolumeTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsInitParameters. -func (in *InstanceRequirementsInitParameters) DeepCopy() *InstanceRequirementsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation. +func (in *InstanceObservation) DeepCopy() *InstanceObservation { if in == nil { return nil } - out := new(InstanceRequirementsInitParameters) + out := new(InstanceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuInitParameters) { +func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.AMI != nil { + in, out := &in.AMI, &out.AMI + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuInitParameters. -func (in *InstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuInitParameters { - if in == nil { - return nil - } - out := new(InstanceRequirementsMemoryGibPerVcpuInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryGibPerVcpuObservation) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuObservation) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.CPUCoreCount != nil { + in, out := &in.CPUCoreCount, &out.CPUCoreCount *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuObservation. -func (in *InstanceRequirementsMemoryGibPerVcpuObservation) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuObservation { - if in == nil { - return nil + if in.CPUOptions != nil { + in, out := &in.CPUOptions, &out.CPUOptions + *out = make([]CPUOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsMemoryGibPerVcpuObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryGibPerVcpuParameters) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max + if in.CPUThreadsPerCore != nil { + in, out := &in.CPUThreadsPerCore, &out.CPUThreadsPerCore *out = new(float64) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in + if in.CapacityReservationSpecification != nil { + in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification + *out = make([]CapacityReservationSpecificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuParameters. -func (in *InstanceRequirementsMemoryGibPerVcpuParameters) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuParameters { - if in == nil { - return nil + if in.CreditSpecification != nil { + in, out := &in.CreditSpecification, &out.CreditSpecification + *out = make([]CreditSpecificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsMemoryGibPerVcpuParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryMibInitParameters) DeepCopyInto(out *InstanceRequirementsMemoryMibInitParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.DisableAPIStop != nil { + in, out := &in.DisableAPIStop, &out.DisableAPIStop + *out = new(bool) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.DisableAPITermination != nil { + in, out := &in.DisableAPITermination, &out.DisableAPITermination + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibInitParameters. -func (in *InstanceRequirementsMemoryMibInitParameters) DeepCopy() *InstanceRequirementsMemoryMibInitParameters { - if in == nil { - return nil + if in.EBSBlockDevice != nil { + in, out := &in.EBSBlockDevice, &out.EBSBlockDevice + *out = make([]InstanceEBSBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsMemoryMibInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryMibObservation) DeepCopyInto(out *InstanceRequirementsMemoryMibObservation) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.EBSOptimized != nil { + in, out := &in.EBSOptimized, &out.EBSOptimized + *out = new(bool) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in + if in.EnclaveOptions != nil { + in, out := &in.EnclaveOptions, &out.EnclaveOptions + *out = make([]EnclaveOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibObservation. -func (in *InstanceRequirementsMemoryMibObservation) DeepCopy() *InstanceRequirementsMemoryMibObservation { - if in == nil { - return nil + if in.EphemeralBlockDevice != nil { + in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice + *out = make([]InstanceEphemeralBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(InstanceRequirementsMemoryMibObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsMemoryMibParameters) DeepCopyInto(out *InstanceRequirementsMemoryMibParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.GetPasswordData != nil { + in, out := &in.GetPasswordData, &out.GetPasswordData + *out = new(bool) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.Hibernation != nil { + in, out := &in.Hibernation, &out.Hibernation + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibParameters. -func (in *InstanceRequirementsMemoryMibParameters) DeepCopy() *InstanceRequirementsMemoryMibParameters { - if in == nil { - return nil - } - out := new(InstanceRequirementsMemoryMibParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsInitParameters) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.HostID != nil { + in, out := &in.HostID, &out.HostID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.HostResourceGroupArn != nil { + in, out := &in.HostResourceGroupArn, &out.HostResourceGroupArn + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsInitParameters. -func (in *InstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsInitParameters { - if in == nil { - return nil - } - out := new(InstanceRequirementsNetworkBandwidthGbpsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsObservation) { - *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.IAMInstanceProfile != nil { + in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsObservation. -func (in *InstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsObservation { - if in == nil { - return nil + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(InstanceRequirementsNetworkBandwidthGbpsObservation) + if in.InstanceInitiatedShutdownBehavior != nil { + in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + *out = new(string) + **out = **in + } + if in.InstanceMarketOptions != nil { + in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions + *out = make([]InstanceMarketOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.LaunchTemplate != nil { + in, out := &in.LaunchTemplate, &out.LaunchTemplate + *out = make([]LaunchTemplateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaintenanceOptions != nil { + in, out := &in.MaintenanceOptions, &out.MaintenanceOptions + *out = make([]MaintenanceOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MetadataOptions != nil { + in, out := &in.MetadataOptions, &out.MetadataOptions + *out = make([]MetadataOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitoring != nil { + in, out := &in.Monitoring, &out.Monitoring + *out = new(bool) + **out = **in + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]InstanceNetworkInterfaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PlacementGroup != nil { + in, out := &in.PlacementGroup, &out.PlacementGroup + *out = new(string) + **out = **in + } + if in.PlacementPartitionNumber != nil { + in, out := &in.PlacementPartitionNumber, &out.PlacementPartitionNumber + *out = new(float64) + **out = **in + } + if in.PrivateDNSNameOptions != nil { + in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions + *out = make([]PrivateDNSNameOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.RootBlockDevice != nil { + in, out := &in.RootBlockDevice, &out.RootBlockDevice + *out = make([]RootBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecondaryPrivateIps != nil { + in, out := &in.SecondaryPrivateIps, &out.SecondaryPrivateIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceDestCheck != nil { + in, out := &in.SourceDestCheck, &out.SourceDestCheck + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tenancy != nil { + in, out := &in.Tenancy, &out.Tenancy + *out = new(string) + **out = **in + } + if in.UserData != nil { + in, out := &in.UserData, &out.UserData + *out = new(string) + **out = **in + } + if in.UserDataBase64 != nil { + in, out := &in.UserDataBase64, &out.UserDataBase64 + *out = new(string) + **out = **in + } + if in.UserDataReplaceOnChange != nil { + in, out := &in.UserDataReplaceOnChange, &out.UserDataReplaceOnChange + *out = new(bool) + **out = **in + } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VolumeTags != nil { + in, out := &in.VolumeTags, &out.VolumeTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters. +func (in *InstanceParameters) DeepCopy() *InstanceParameters { + if in == nil { + return nil + } + out := new(InstanceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsParameters) { +func (in *InstanceRequirementsAcceleratorCountInitParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorCountInitParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -16661,18 +16814,18 @@ func (in *InstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopyInto(out * } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsParameters. -func (in *InstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountInitParameters. +func (in *InstanceRequirementsAcceleratorCountInitParameters) DeepCopy() *InstanceRequirementsAcceleratorCountInitParameters { if in == nil { return nil } - out := new(InstanceRequirementsNetworkBandwidthGbpsParameters) + out := new(InstanceRequirementsAcceleratorCountInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountInitParameters) { +func (in *InstanceRequirementsAcceleratorCountObservation) DeepCopyInto(out *InstanceRequirementsAcceleratorCountObservation) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -16686,18 +16839,18 @@ func (in *InstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopyInto( } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountInitParameters. -func (in *InstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopy() *InstanceRequirementsNetworkInterfaceCountInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountObservation. +func (in *InstanceRequirementsAcceleratorCountObservation) DeepCopy() *InstanceRequirementsAcceleratorCountObservation { if in == nil { return nil } - out := new(InstanceRequirementsNetworkInterfaceCountInitParameters) + out := new(InstanceRequirementsAcceleratorCountObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkInterfaceCountObservation) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountObservation) { +func (in *InstanceRequirementsAcceleratorCountParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorCountParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -16711,18 +16864,18 @@ func (in *InstanceRequirementsNetworkInterfaceCountObservation) DeepCopyInto(out } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountObservation. -func (in *InstanceRequirementsNetworkInterfaceCountObservation) DeepCopy() *InstanceRequirementsNetworkInterfaceCountObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorCountParameters. +func (in *InstanceRequirementsAcceleratorCountParameters) DeepCopy() *InstanceRequirementsAcceleratorCountParameters { if in == nil { return nil } - out := new(InstanceRequirementsNetworkInterfaceCountObservation) + out := new(InstanceRequirementsAcceleratorCountParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsNetworkInterfaceCountParameters) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountParameters) { +func (in *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -16736,27 +16889,152 @@ func (in *InstanceRequirementsNetworkInterfaceCountParameters) DeepCopyInto(out } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountParameters. -func (in *InstanceRequirementsNetworkInterfaceCountParameters) DeepCopy() *InstanceRequirementsNetworkInterfaceCountParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibInitParameters. +func (in *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibInitParameters { if in == nil { return nil } - out := new(InstanceRequirementsNetworkInterfaceCountParameters) + out := new(InstanceRequirementsAcceleratorTotalMemoryMibInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirementsObservation) { +func (in *InstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibObservation) { *out = *in - if in.AcceleratorCount != nil { - in, out := &in.AcceleratorCount, &out.AcceleratorCount - *out = make([]AcceleratorCountObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AcceleratorManufacturers != nil { + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibObservation. +func (in *InstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibObservation { + if in == nil { + return nil + } + out := new(InstanceRequirementsAcceleratorTotalMemoryMibObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopyInto(out *InstanceRequirementsAcceleratorTotalMemoryMibParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsAcceleratorTotalMemoryMibParameters. +func (in *InstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopy() *InstanceRequirementsAcceleratorTotalMemoryMibParameters { + if in == nil { + return nil + } + out := new(InstanceRequirementsAcceleratorTotalMemoryMibParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters { + if in == nil { + return nil + } + out := new(InstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsObservation. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsObservation { + if in == nil { + return nil + } + out := new(InstanceRequirementsBaselineEBSBandwidthMbpsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopyInto(out *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsBaselineEBSBandwidthMbpsParameters. +func (in *InstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopy() *InstanceRequirementsBaselineEBSBandwidthMbpsParameters { + if in == nil { + return nil + } + out := new(InstanceRequirementsBaselineEBSBandwidthMbpsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsInitParameters) DeepCopyInto(out *InstanceRequirementsInitParameters) { + *out = *in + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = make([]AcceleratorCountInitParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AcceleratorManufacturers != nil { in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers *out = make([]*string, len(*in)) for i := range *in { @@ -16780,7 +17058,7 @@ func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirement } if in.AcceleratorTotalMemoryMib != nil { in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib - *out = make([]AcceleratorTotalMemoryMibObservation, len(*in)) + *out = make([]AcceleratorTotalMemoryMibInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -16814,7 +17092,7 @@ func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirement } if in.BaselineEBSBandwidthMbps != nil { in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps - *out = make([]BaselineEBSBandwidthMbpsObservation, len(*in)) + *out = make([]BaselineEBSBandwidthMbpsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -16880,28 +17158,28 @@ func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirement } if in.MemoryGibPerVcpu != nil { in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu - *out = make([]MemoryGibPerVcpuObservation, len(*in)) + *out = make([]MemoryGibPerVcpuInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.MemoryMib != nil { in, out := &in.MemoryMib, &out.MemoryMib - *out = make([]MemoryMibObservation, len(*in)) + *out = make([]MemoryMibInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.NetworkBandwidthGbps != nil { in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps - *out = make([]NetworkBandwidthGbpsObservation, len(*in)) + *out = make([]NetworkBandwidthGbpsInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.NetworkInterfaceCount != nil { in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount - *out = make([]NetworkInterfaceCountObservation, len(*in)) + *out = make([]NetworkInterfaceCountInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -16923,233 +17201,82 @@ func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirement } if in.TotalLocalStorageGb != nil { in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb - *out = make([]TotalLocalStorageGbObservation, len(*in)) + *out = make([]TotalLocalStorageGbInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.VcpuCount != nil { in, out := &in.VcpuCount, &out.VcpuCount - *out = make([]VcpuCountObservation, len(*in)) + *out = make([]VcpuCountInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsObservation. -func (in *InstanceRequirementsObservation) DeepCopy() *InstanceRequirementsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsInitParameters. +func (in *InstanceRequirementsInitParameters) DeepCopy() *InstanceRequirementsInitParameters { if in == nil { return nil } - out := new(InstanceRequirementsObservation) + out := new(InstanceRequirementsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsParameters) DeepCopyInto(out *InstanceRequirementsParameters) { +func (in *InstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuInitParameters) { *out = *in - if in.AcceleratorCount != nil { - in, out := &in.AcceleratorCount, &out.AcceleratorCount - *out = make([]AcceleratorCountParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AcceleratorManufacturers != nil { - in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AcceleratorNames != nil { - in, out := &in.AcceleratorNames, &out.AcceleratorNames - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AcceleratorTotalMemoryMib != nil { - in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib - *out = make([]AcceleratorTotalMemoryMibParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in } - if in.AcceleratorTypes != nil { - in, out := &in.AcceleratorTypes, &out.AcceleratorTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } - if in.AllowedInstanceTypes != nil { - in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuInitParameters. +func (in *InstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuInitParameters { + if in == nil { + return nil } - if in.BareMetal != nil { - in, out := &in.BareMetal, &out.BareMetal - *out = new(string) + out := new(InstanceRequirementsMemoryGibPerVcpuInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceRequirementsMemoryGibPerVcpuObservation) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.BaselineEBSBandwidthMbps != nil { - in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps - *out = make([]BaselineEBSBandwidthMbpsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.BurstablePerformance != nil { - in, out := &in.BurstablePerformance, &out.BurstablePerformance - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.CPUManufacturers != nil { - in, out := &in.CPUManufacturers, &out.CPUManufacturers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ExcludedInstanceTypes != nil { - in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.InstanceGenerations != nil { - in, out := &in.InstanceGenerations, &out.InstanceGenerations - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.LocalStorage != nil { - in, out := &in.LocalStorage, &out.LocalStorage - *out = new(string) - **out = **in - } - if in.LocalStorageTypes != nil { - in, out := &in.LocalStorageTypes, &out.LocalStorageTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { - in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice - *out = new(float64) - **out = **in - } - if in.MemoryGibPerVcpu != nil { - in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu - *out = make([]MemoryGibPerVcpuParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MemoryMib != nil { - in, out := &in.MemoryMib, &out.MemoryMib - *out = make([]MemoryMibParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.NetworkBandwidthGbps != nil { - in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps - *out = make([]NetworkBandwidthGbpsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.NetworkInterfaceCount != nil { - in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount - *out = make([]NetworkInterfaceCountParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.OnDemandMaxPricePercentageOverLowestPrice != nil { - in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice - *out = new(float64) - **out = **in - } - if in.RequireHibernateSupport != nil { - in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport - *out = new(bool) - **out = **in - } - if in.SpotMaxPricePercentageOverLowestPrice != nil { - in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice - *out = new(float64) - **out = **in - } - if in.TotalLocalStorageGb != nil { - in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb - *out = make([]TotalLocalStorageGbParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VcpuCount != nil { - in, out := &in.VcpuCount, &out.VcpuCount - *out = make([]VcpuCountParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsParameters. -func (in *InstanceRequirementsParameters) DeepCopy() *InstanceRequirementsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuObservation. +func (in *InstanceRequirementsMemoryGibPerVcpuObservation) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuObservation { if in == nil { return nil } - out := new(InstanceRequirementsParameters) + out := new(InstanceRequirementsMemoryGibPerVcpuObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbInitParameters) { +func (in *InstanceRequirementsMemoryGibPerVcpuParameters) DeepCopyInto(out *InstanceRequirementsMemoryGibPerVcpuParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17163,18 +17290,18 @@ func (in *InstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopyInto(ou } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbInitParameters. -func (in *InstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopy() *InstanceRequirementsTotalLocalStorageGbInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryGibPerVcpuParameters. +func (in *InstanceRequirementsMemoryGibPerVcpuParameters) DeepCopy() *InstanceRequirementsMemoryGibPerVcpuParameters { if in == nil { return nil } - out := new(InstanceRequirementsTotalLocalStorageGbInitParameters) + out := new(InstanceRequirementsMemoryGibPerVcpuParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsTotalLocalStorageGbObservation) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbObservation) { +func (in *InstanceRequirementsMemoryMibInitParameters) DeepCopyInto(out *InstanceRequirementsMemoryMibInitParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17188,18 +17315,18 @@ func (in *InstanceRequirementsTotalLocalStorageGbObservation) DeepCopyInto(out * } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbObservation. -func (in *InstanceRequirementsTotalLocalStorageGbObservation) DeepCopy() *InstanceRequirementsTotalLocalStorageGbObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibInitParameters. +func (in *InstanceRequirementsMemoryMibInitParameters) DeepCopy() *InstanceRequirementsMemoryMibInitParameters { if in == nil { return nil } - out := new(InstanceRequirementsTotalLocalStorageGbObservation) + out := new(InstanceRequirementsMemoryMibInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsTotalLocalStorageGbParameters) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbParameters) { +func (in *InstanceRequirementsMemoryMibObservation) DeepCopyInto(out *InstanceRequirementsMemoryMibObservation) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17213,18 +17340,18 @@ func (in *InstanceRequirementsTotalLocalStorageGbParameters) DeepCopyInto(out *I } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbParameters. -func (in *InstanceRequirementsTotalLocalStorageGbParameters) DeepCopy() *InstanceRequirementsTotalLocalStorageGbParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibObservation. +func (in *InstanceRequirementsMemoryMibObservation) DeepCopy() *InstanceRequirementsMemoryMibObservation { if in == nil { return nil } - out := new(InstanceRequirementsTotalLocalStorageGbParameters) + out := new(InstanceRequirementsMemoryMibObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsVcpuCountInitParameters) DeepCopyInto(out *InstanceRequirementsVcpuCountInitParameters) { +func (in *InstanceRequirementsMemoryMibParameters) DeepCopyInto(out *InstanceRequirementsMemoryMibParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17238,18 +17365,18 @@ func (in *InstanceRequirementsVcpuCountInitParameters) DeepCopyInto(out *Instanc } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountInitParameters. -func (in *InstanceRequirementsVcpuCountInitParameters) DeepCopy() *InstanceRequirementsVcpuCountInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsMemoryMibParameters. +func (in *InstanceRequirementsMemoryMibParameters) DeepCopy() *InstanceRequirementsMemoryMibParameters { if in == nil { return nil } - out := new(InstanceRequirementsVcpuCountInitParameters) + out := new(InstanceRequirementsMemoryMibParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsVcpuCountObservation) DeepCopyInto(out *InstanceRequirementsVcpuCountObservation) { +func (in *InstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsInitParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17263,18 +17390,18 @@ func (in *InstanceRequirementsVcpuCountObservation) DeepCopyInto(out *InstanceRe } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountObservation. -func (in *InstanceRequirementsVcpuCountObservation) DeepCopy() *InstanceRequirementsVcpuCountObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsInitParameters. +func (in *InstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsInitParameters { if in == nil { return nil } - out := new(InstanceRequirementsVcpuCountObservation) + out := new(InstanceRequirementsNetworkBandwidthGbpsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceRequirementsVcpuCountParameters) DeepCopyInto(out *InstanceRequirementsVcpuCountParameters) { +func (in *InstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsObservation) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -17288,585 +17415,919 @@ func (in *InstanceRequirementsVcpuCountParameters) DeepCopyInto(out *InstanceReq } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountParameters. -func (in *InstanceRequirementsVcpuCountParameters) DeepCopy() *InstanceRequirementsVcpuCountParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsObservation. +func (in *InstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsObservation { if in == nil { return nil } - out := new(InstanceRequirementsVcpuCountParameters) + out := new(InstanceRequirementsNetworkBandwidthGbpsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { +func (in *InstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopyInto(out *InstanceRequirementsNetworkBandwidthGbpsParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec. -func (in *InstanceSpec) DeepCopy() *InstanceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkBandwidthGbpsParameters. +func (in *InstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopy() *InstanceRequirementsNetworkBandwidthGbpsParameters { if in == nil { return nil } - out := new(InstanceSpec) + out := new(InstanceRequirementsNetworkBandwidthGbpsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceState) DeepCopyInto(out *InstanceState) { +func (in *InstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceState. -func (in *InstanceState) DeepCopy() *InstanceState { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountInitParameters. +func (in *InstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopy() *InstanceRequirementsNetworkInterfaceCountInitParameters { if in == nil { return nil } - out := new(InstanceState) + out := new(InstanceRequirementsNetworkInterfaceCountInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *InstanceState) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateInitParameters) DeepCopyInto(out *InstanceStateInitParameters) { +func (in *InstanceRequirementsNetworkInterfaceCountObservation) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountObservation) { *out = *in - if in.Force != nil { - in, out := &in.Force, &out.Force - *out = new(bool) - **out = **in - } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.InstanceIDRef != nil { - in, out := &in.InstanceIDRef, &out.InstanceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.InstanceIDSelector != nil { - in, out := &in.InstanceIDSelector, &out.InstanceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.State != nil { - in, out := &in.State, &out.State - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateInitParameters. -func (in *InstanceStateInitParameters) DeepCopy() *InstanceStateInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountObservation. +func (in *InstanceRequirementsNetworkInterfaceCountObservation) DeepCopy() *InstanceRequirementsNetworkInterfaceCountObservation { if in == nil { return nil } - out := new(InstanceStateInitParameters) + out := new(InstanceRequirementsNetworkInterfaceCountObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateList) DeepCopyInto(out *InstanceStateList) { +func (in *InstanceRequirementsNetworkInterfaceCountParameters) DeepCopyInto(out *InstanceRequirementsNetworkInterfaceCountParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]InstanceState, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateList. -func (in *InstanceStateList) DeepCopy() *InstanceStateList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsNetworkInterfaceCountParameters. +func (in *InstanceRequirementsNetworkInterfaceCountParameters) DeepCopy() *InstanceRequirementsNetworkInterfaceCountParameters { if in == nil { return nil } - out := new(InstanceStateList) + out := new(InstanceRequirementsNetworkInterfaceCountParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *InstanceStateList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateObservation) DeepCopyInto(out *InstanceStateObservation) { +func (in *InstanceRequirementsObservation) DeepCopyInto(out *InstanceRequirementsObservation) { *out = *in - if in.Force != nil { - in, out := &in.Force, &out.Force - *out = new(bool) - **out = **in + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = make([]AcceleratorCountObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.AcceleratorManufacturers != nil { + in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AcceleratorNames != nil { + in, out := &in.AcceleratorNames, &out.AcceleratorNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AcceleratorTotalMemoryMib != nil { + in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib + *out = make([]AcceleratorTotalMemoryMibObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedInstanceTypes != nil { + in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BareMetal != nil { + in, out := &in.BareMetal, &out.BareMetal *out = new(string) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID + if in.BaselineEBSBandwidthMbps != nil { + in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps + *out = make([]BaselineEBSBandwidthMbpsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BurstablePerformance != nil { + in, out := &in.BurstablePerformance, &out.BurstablePerformance *out = new(string) **out = **in } - if in.State != nil { - in, out := &in.State, &out.State + if in.CPUManufacturers != nil { + in, out := &in.CPUManufacturers, &out.CPUManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExcludedInstanceTypes != nil { + in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InstanceGenerations != nil { + in, out := &in.InstanceGenerations, &out.InstanceGenerations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LocalStorage != nil { + in, out := &in.LocalStorage, &out.LocalStorage *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateObservation. -func (in *InstanceStateObservation) DeepCopy() *InstanceStateObservation { - if in == nil { - return nil + if in.LocalStorageTypes != nil { + in, out := &in.LocalStorageTypes, &out.LocalStorageTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(InstanceStateObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateParameters) DeepCopyInto(out *InstanceStateParameters) { - *out = *in - if in.Force != nil { - in, out := &in.Force, &out.Force - *out = new(bool) + if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { + in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + *out = new(float64) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID - *out = new(string) - **out = **in + if in.MemoryGibPerVcpu != nil { + in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu + *out = make([]MemoryGibPerVcpuObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InstanceIDRef != nil { - in, out := &in.InstanceIDRef, &out.InstanceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.MemoryMib != nil { + in, out := &in.MemoryMib, &out.MemoryMib + *out = make([]MemoryMibObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.InstanceIDSelector != nil { - in, out := &in.InstanceIDSelector, &out.InstanceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.NetworkBandwidthGbps != nil { + in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps + *out = make([]NetworkBandwidthGbpsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.NetworkInterfaceCount != nil { + in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount + *out = make([]NetworkInterfaceCountObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OnDemandMaxPricePercentageOverLowestPrice != nil { + in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } - if in.State != nil { - in, out := &in.State, &out.State - *out = new(string) + if in.RequireHibernateSupport != nil { + in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport + *out = new(bool) + **out = **in + } + if in.SpotMaxPricePercentageOverLowestPrice != nil { + in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } + if in.TotalLocalStorageGb != nil { + in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb + *out = make([]TotalLocalStorageGbObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VcpuCount != nil { + in, out := &in.VcpuCount, &out.VcpuCount + *out = make([]VcpuCountObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateParameters. -func (in *InstanceStateParameters) DeepCopy() *InstanceStateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsObservation. +func (in *InstanceRequirementsObservation) DeepCopy() *InstanceRequirementsObservation { if in == nil { return nil } - out := new(InstanceStateParameters) + out := new(InstanceRequirementsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateSpec) DeepCopyInto(out *InstanceStateSpec) { +func (in *InstanceRequirementsParameters) DeepCopyInto(out *InstanceRequirementsParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateSpec. -func (in *InstanceStateSpec) DeepCopy() *InstanceStateSpec { - if in == nil { - return nil - } - out := new(InstanceStateSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStateStatus) DeepCopyInto(out *InstanceStateStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = make([]AcceleratorCountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AcceleratorManufacturers != nil { + in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AcceleratorNames != nil { + in, out := &in.AcceleratorNames, &out.AcceleratorNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AcceleratorTotalMemoryMib != nil { + in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib + *out = make([]AcceleratorTotalMemoryMibParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedInstanceTypes != nil { + in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BareMetal != nil { + in, out := &in.BareMetal, &out.BareMetal + *out = new(string) + **out = **in + } + if in.BaselineEBSBandwidthMbps != nil { + in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps + *out = make([]BaselineEBSBandwidthMbpsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BurstablePerformance != nil { + in, out := &in.BurstablePerformance, &out.BurstablePerformance + *out = new(string) + **out = **in + } + if in.CPUManufacturers != nil { + in, out := &in.CPUManufacturers, &out.CPUManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExcludedInstanceTypes != nil { + in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InstanceGenerations != nil { + in, out := &in.InstanceGenerations, &out.InstanceGenerations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LocalStorage != nil { + in, out := &in.LocalStorage, &out.LocalStorage + *out = new(string) + **out = **in + } + if in.LocalStorageTypes != nil { + in, out := &in.LocalStorageTypes, &out.LocalStorageTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { + in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + *out = new(float64) + **out = **in + } + if in.MemoryGibPerVcpu != nil { + in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu + *out = make([]MemoryGibPerVcpuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MemoryMib != nil { + in, out := &in.MemoryMib, &out.MemoryMib + *out = make([]MemoryMibParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkBandwidthGbps != nil { + in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps + *out = make([]NetworkBandwidthGbpsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkInterfaceCount != nil { + in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount + *out = make([]NetworkInterfaceCountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OnDemandMaxPricePercentageOverLowestPrice != nil { + in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice + *out = new(float64) + **out = **in + } + if in.RequireHibernateSupport != nil { + in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport + *out = new(bool) + **out = **in + } + if in.SpotMaxPricePercentageOverLowestPrice != nil { + in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice + *out = new(float64) + **out = **in + } + if in.TotalLocalStorageGb != nil { + in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb + *out = make([]TotalLocalStorageGbParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VcpuCount != nil { + in, out := &in.VcpuCount, &out.VcpuCount + *out = make([]VcpuCountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateStatus. -func (in *InstanceStateStatus) DeepCopy() *InstanceStateStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsParameters. +func (in *InstanceRequirementsParameters) DeepCopy() *InstanceRequirementsParameters { if in == nil { return nil } - out := new(InstanceStateStatus) + out := new(InstanceRequirementsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus) { +func (in *InstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus. -func (in *InstanceStatus) DeepCopy() *InstanceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbInitParameters. +func (in *InstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopy() *InstanceRequirementsTotalLocalStorageGbInitParameters { if in == nil { return nil } - out := new(InstanceStatus) + out := new(InstanceRequirementsTotalLocalStorageGbInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGateway) DeepCopyInto(out *InternetGateway) { +func (in *InstanceRequirementsTotalLocalStorageGbObservation) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGateway. -func (in *InternetGateway) DeepCopy() *InternetGateway { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbObservation. +func (in *InstanceRequirementsTotalLocalStorageGbObservation) DeepCopy() *InstanceRequirementsTotalLocalStorageGbObservation { if in == nil { return nil } - out := new(InternetGateway) + out := new(InstanceRequirementsTotalLocalStorageGbObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *InternetGateway) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayInitParameters) DeepCopyInto(out *InternetGatewayInitParameters) { +func (in *InstanceRequirementsTotalLocalStorageGbParameters) DeepCopyInto(out *InstanceRequirementsTotalLocalStorageGbParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayInitParameters. -func (in *InternetGatewayInitParameters) DeepCopy() *InternetGatewayInitParameters { + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsTotalLocalStorageGbParameters. +func (in *InstanceRequirementsTotalLocalStorageGbParameters) DeepCopy() *InstanceRequirementsTotalLocalStorageGbParameters { if in == nil { return nil } - out := new(InternetGatewayInitParameters) + out := new(InstanceRequirementsTotalLocalStorageGbParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayInitParameters_2) DeepCopyInto(out *InternetGatewayInitParameters_2) { +func (in *InstanceRequirementsVcpuCountInitParameters) DeepCopyInto(out *InstanceRequirementsVcpuCountInitParameters) { *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayInitParameters_2. -func (in *InternetGatewayInitParameters_2) DeepCopy() *InternetGatewayInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountInitParameters. +func (in *InstanceRequirementsVcpuCountInitParameters) DeepCopy() *InstanceRequirementsVcpuCountInitParameters { if in == nil { return nil } - out := new(InternetGatewayInitParameters_2) + out := new(InstanceRequirementsVcpuCountInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayList) DeepCopyInto(out *InternetGatewayList) { +func (in *InstanceRequirementsVcpuCountObservation) DeepCopyInto(out *InstanceRequirementsVcpuCountObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]InternetGateway, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayList. -func (in *InternetGatewayList) DeepCopy() *InternetGatewayList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountObservation. +func (in *InstanceRequirementsVcpuCountObservation) DeepCopy() *InstanceRequirementsVcpuCountObservation { if in == nil { return nil } - out := new(InternetGatewayList) + out := new(InstanceRequirementsVcpuCountObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *InternetGatewayList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayObservation) DeepCopyInto(out *InternetGatewayObservation) { +func (in *InstanceRequirementsVcpuCountParameters) DeepCopyInto(out *InstanceRequirementsVcpuCountParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayObservation. -func (in *InternetGatewayObservation) DeepCopy() *InternetGatewayObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsVcpuCountParameters. +func (in *InstanceRequirementsVcpuCountParameters) DeepCopy() *InstanceRequirementsVcpuCountParameters { if in == nil { return nil } - out := new(InternetGatewayObservation) + out := new(InstanceRequirementsVcpuCountParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayObservation_2) DeepCopyInto(out *InternetGatewayObservation_2) { +func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID - *out = new(string) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayObservation_2. -func (in *InternetGatewayObservation_2) DeepCopy() *InternetGatewayObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec. +func (in *InstanceSpec) DeepCopy() *InstanceSpec { if in == nil { return nil } - out := new(InternetGatewayObservation_2) + out := new(InstanceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayParameters) DeepCopyInto(out *InternetGatewayParameters) { +func (in *InstanceState) DeepCopyInto(out *InstanceState) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayParameters. -func (in *InternetGatewayParameters) DeepCopy() *InternetGatewayParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceState. +func (in *InstanceState) DeepCopy() *InstanceState { if in == nil { return nil } - out := new(InternetGatewayParameters) + out := new(InstanceState) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InstanceState) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayParameters_2) DeepCopyInto(out *InternetGatewayParameters_2) { +func (in *InstanceStateInitParameters) DeepCopyInto(out *InstanceStateInitParameters) { *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.Force != nil { + in, out := &in.Force, &out.Force + *out = new(bool) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID *out = new(string) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayParameters_2. -func (in *InternetGatewayParameters_2) DeepCopy() *InternetGatewayParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateInitParameters. +func (in *InstanceStateInitParameters) DeepCopy() *InstanceStateInitParameters { if in == nil { return nil } - out := new(InternetGatewayParameters_2) + out := new(InstanceStateInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewaySpec) DeepCopyInto(out *InternetGatewaySpec) { +func (in *InstanceStateList) DeepCopyInto(out *InstanceStateList) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewaySpec. -func (in *InternetGatewaySpec) DeepCopy() *InternetGatewaySpec { + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InstanceState, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateList. +func (in *InstanceStateList) DeepCopy() *InstanceStateList { if in == nil { return nil } - out := new(InternetGatewaySpec) + out := new(InstanceStateList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InstanceStateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InternetGatewayStatus) DeepCopyInto(out *InternetGatewayStatus) { +func (in *InstanceStateObservation) DeepCopyInto(out *InstanceStateObservation) { + *out = *in + if in.Force != nil { + in, out := &in.Force, &out.Force + *out = new(bool) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateObservation. +func (in *InstanceStateObservation) DeepCopy() *InstanceStateObservation { + if in == nil { + return nil + } + out := new(InstanceStateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceStateParameters) DeepCopyInto(out *InstanceStateParameters) { + *out = *in + if in.Force != nil { + in, out := &in.Force, &out.Force + *out = new(bool) + **out = **in + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateParameters. +func (in *InstanceStateParameters) DeepCopy() *InstanceStateParameters { + if in == nil { + return nil + } + out := new(InstanceStateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceStateSpec) DeepCopyInto(out *InstanceStateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateSpec. +func (in *InstanceStateSpec) DeepCopy() *InstanceStateSpec { + if in == nil { + return nil + } + out := new(InstanceStateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstanceStateStatus) DeepCopyInto(out *InstanceStateStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayStatus. -func (in *InternetGatewayStatus) DeepCopy() *InternetGatewayStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStateStatus. +func (in *InstanceStateStatus) DeepCopy() *InstanceStateStatus { if in == nil { return nil } - out := new(InternetGatewayStatus) + out := new(InstanceStateStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPair) DeepCopyInto(out *KeyPair) { +func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus. +func (in *InstanceStatus) DeepCopy() *InstanceStatus { + if in == nil { + return nil + } + out := new(InstanceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InternetGateway) DeepCopyInto(out *InternetGateway) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -17874,18 +18335,18 @@ func (in *KeyPair) DeepCopyInto(out *KeyPair) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPair. -func (in *KeyPair) DeepCopy() *KeyPair { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGateway. +func (in *InternetGateway) DeepCopy() *InternetGateway { if in == nil { return nil } - out := new(KeyPair) + out := new(InternetGateway) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KeyPair) DeepCopyObject() runtime.Object { +func (in *InternetGateway) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -17893,13 +18354,23 @@ func (in *KeyPair) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairInitParameters) DeepCopyInto(out *KeyPairInitParameters) { +func (in *InternetGatewayInitParameters) DeepCopyInto(out *InternetGatewayInitParameters) { *out = *in - if in.PublicKey != nil { - in, out := &in.PublicKey, &out.PublicKey - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayInitParameters. +func (in *InternetGatewayInitParameters) DeepCopy() *InternetGatewayInitParameters { + if in == nil { + return nil } + out := new(InternetGatewayInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InternetGatewayInitParameters_2) DeepCopyInto(out *InternetGatewayInitParameters_2) { + *out = *in if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -17916,44 +18387,59 @@ func (in *KeyPairInitParameters) DeepCopyInto(out *KeyPairInitParameters) { (*out)[key] = outVal } } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairInitParameters. -func (in *KeyPairInitParameters) DeepCopy() *KeyPairInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayInitParameters_2. +func (in *InternetGatewayInitParameters_2) DeepCopy() *InternetGatewayInitParameters_2 { if in == nil { return nil } - out := new(KeyPairInitParameters) + out := new(InternetGatewayInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairList) DeepCopyInto(out *KeyPairList) { +func (in *InternetGatewayList) DeepCopyInto(out *InternetGatewayList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]KeyPair, len(*in)) + *out = make([]InternetGateway, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairList. -func (in *KeyPairList) DeepCopy() *KeyPairList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayList. +func (in *InternetGatewayList) DeepCopy() *InternetGatewayList { if in == nil { return nil } - out := new(KeyPairList) + out := new(InternetGatewayList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KeyPairList) DeepCopyObject() runtime.Object { +func (in *InternetGatewayList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -17961,35 +18447,50 @@ func (in *KeyPairList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation) { +func (in *InternetGatewayObservation) DeepCopyInto(out *InternetGatewayObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Fingerprint != nil { - in, out := &in.Fingerprint, &out.Fingerprint + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.KeyPairID != nil { - in, out := &in.KeyPairID, &out.KeyPairID +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayObservation. +func (in *InternetGatewayObservation) DeepCopy() *InternetGatewayObservation { + if in == nil { + return nil + } + out := new(InternetGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InternetGatewayObservation_2) DeepCopyInto(out *InternetGatewayObservation_2) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.KeyType != nil { - in, out := &in.KeyType, &out.KeyType + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.PublicKey != nil { - in, out := &in.PublicKey, &out.PublicKey + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } @@ -18025,26 +18526,41 @@ func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation) { (*out)[key] = outVal } } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairObservation. -func (in *KeyPairObservation) DeepCopy() *KeyPairObservation { - if in == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayObservation_2. +func (in *InternetGatewayObservation_2) DeepCopy() *InternetGatewayObservation_2 { + if in == nil { return nil } - out := new(KeyPairObservation) + out := new(InternetGatewayObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairParameters) DeepCopyInto(out *KeyPairParameters) { +func (in *InternetGatewayParameters) DeepCopyInto(out *InternetGatewayParameters) { *out = *in - if in.PublicKey != nil { - in, out := &in.PublicKey, &out.PublicKey - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayParameters. +func (in *InternetGatewayParameters) DeepCopy() *InternetGatewayParameters { + if in == nil { + return nil } + out := new(InternetGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InternetGatewayParameters_2) DeepCopyInto(out *InternetGatewayParameters_2) { + *out = *in if in.Region != nil { in, out := &in.Region, &out.Region *out = new(string) @@ -18066,458 +18582,573 @@ func (in *KeyPairParameters) DeepCopyInto(out *KeyPairParameters) { (*out)[key] = outVal } } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairParameters. -func (in *KeyPairParameters) DeepCopy() *KeyPairParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayParameters_2. +func (in *InternetGatewayParameters_2) DeepCopy() *InternetGatewayParameters_2 { if in == nil { return nil } - out := new(KeyPairParameters) + out := new(InternetGatewayParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairSpec) DeepCopyInto(out *KeyPairSpec) { +func (in *InternetGatewaySpec) DeepCopyInto(out *InternetGatewaySpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairSpec. -func (in *KeyPairSpec) DeepCopy() *KeyPairSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewaySpec. +func (in *InternetGatewaySpec) DeepCopy() *InternetGatewaySpec { if in == nil { return nil } - out := new(KeyPairSpec) + out := new(InternetGatewaySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyPairStatus) DeepCopyInto(out *KeyPairStatus) { +func (in *InternetGatewayStatus) DeepCopyInto(out *InternetGatewayStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairStatus. -func (in *KeyPairStatus) DeepCopy() *KeyPairStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGatewayStatus. +func (in *InternetGatewayStatus) DeepCopy() *InternetGatewayStatus { if in == nil { return nil } - out := new(KeyPairStatus) + out := new(InternetGatewayStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEBSBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceInitParameters) { +func (in *KeyPair) DeepCopyInto(out *KeyPair) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) - **out = **in - } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) - **out = **in - } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) - **out = **in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPair. +func (in *KeyPair) DeepCopy() *KeyPair { + if in == nil { + return nil } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in + out := new(KeyPair) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KeyPair) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyPairInitParameters) DeepCopyInto(out *KeyPairInitParameters) { + *out = *in + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey *out = new(string) **out = **in } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceInitParameters. -func (in *LaunchSpecificationEBSBlockDeviceInitParameters) DeepCopy() *LaunchSpecificationEBSBlockDeviceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairInitParameters. +func (in *KeyPairInitParameters) DeepCopy() *KeyPairInitParameters { if in == nil { return nil } - out := new(LaunchSpecificationEBSBlockDeviceInitParameters) + out := new(KeyPairInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEBSBlockDeviceObservation) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceObservation) { +func (in *KeyPairList) DeepCopyInto(out *KeyPairList) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) - **out = **in - } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) - **out = **in - } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID - *out = new(string) - **out = **in - } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID - *out = new(string) - **out = **in - } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) - **out = **in - } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in - } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]KeyPair, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceObservation. -func (in *LaunchSpecificationEBSBlockDeviceObservation) DeepCopy() *LaunchSpecificationEBSBlockDeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairList. +func (in *KeyPairList) DeepCopy() *KeyPairList { if in == nil { return nil } - out := new(LaunchSpecificationEBSBlockDeviceObservation) + out := new(KeyPairList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KeyPairList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEBSBlockDeviceParameters) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceParameters) { +func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) - **out = **in - } - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted - *out = new(bool) + if in.Fingerprint != nil { + in, out := &in.Fingerprint, &out.Fingerprint + *out = new(string) **out = **in } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) **out = **in } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.KeyPairID != nil { + in, out := &in.KeyPairID, &out.KeyPairID *out = new(string) **out = **in } - if in.SnapshotID != nil { - in, out := &in.SnapshotID, &out.SnapshotID + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType *out = new(string) **out = **in } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey + *out = new(string) **out = **in } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType - *out = new(string) - **out = **in + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceParameters. -func (in *LaunchSpecificationEBSBlockDeviceParameters) DeepCopy() *LaunchSpecificationEBSBlockDeviceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairObservation. +func (in *KeyPairObservation) DeepCopy() *KeyPairObservation { if in == nil { return nil } - out := new(LaunchSpecificationEBSBlockDeviceParameters) + out := new(KeyPairObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEphemeralBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceInitParameters) { +func (in *KeyPairParameters) DeepCopyInto(out *KeyPairParameters) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey *out = new(string) **out = **in } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceInitParameters. -func (in *LaunchSpecificationEphemeralBlockDeviceInitParameters) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairParameters. +func (in *KeyPairParameters) DeepCopy() *KeyPairParameters { if in == nil { return nil } - out := new(LaunchSpecificationEphemeralBlockDeviceInitParameters) + out := new(KeyPairParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEphemeralBlockDeviceObservation) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceObservation) { +func (in *KeyPairSpec) DeepCopyInto(out *KeyPairSpec) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceObservation. -func (in *LaunchSpecificationEphemeralBlockDeviceObservation) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairSpec. +func (in *KeyPairSpec) DeepCopy() *KeyPairSpec { if in == nil { return nil } - out := new(LaunchSpecificationEphemeralBlockDeviceObservation) + out := new(KeyPairSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationEphemeralBlockDeviceParameters) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceParameters) { +func (in *KeyPairStatus) DeepCopyInto(out *KeyPairStatus) { *out = *in - if in.DeviceName != nil { - in, out := &in.DeviceName, &out.DeviceName - *out = new(string) - **out = **in - } - if in.VirtualName != nil { - in, out := &in.VirtualName, &out.VirtualName - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceParameters. -func (in *LaunchSpecificationEphemeralBlockDeviceParameters) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairStatus. +func (in *KeyPairStatus) DeepCopy() *KeyPairStatus { if in == nil { return nil } - out := new(LaunchSpecificationEphemeralBlockDeviceParameters) + out := new(KeyPairStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationInitParameters) DeepCopyInto(out *LaunchSpecificationInitParameters) { +func (in *LaunchSpecificationEBSBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceInitParameters) { *out = *in - if in.AMI != nil { - in, out := &in.AMI, &out.AMI - *out = new(string) - **out = **in - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(bool) **out = **in } - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName *out = new(string) **out = **in } - if in.EBSBlockDevice != nil { - in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]LaunchSpecificationEBSBlockDeviceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EBSOptimized != nil { - in, out := &in.EBSOptimized, &out.EBSOptimized + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted *out = new(bool) **out = **in } - if in.EphemeralBlockDevice != nil { - in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]LaunchSpecificationEphemeralBlockDeviceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in } - if in.IAMInstanceProfile != nil { - in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.IAMInstanceProfileArn != nil { - in, out := &in.IAMInstanceProfileArn, &out.IAMInstanceProfileArn + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID *out = new(string) **out = **in } - if in.IAMInstanceProfileArnRef != nil { - in, out := &in.IAMInstanceProfileArnRef, &out.IAMInstanceProfileArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.IAMInstanceProfileArnSelector != nil { - in, out := &in.IAMInstanceProfileArnSelector, &out.IAMInstanceProfileArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType - *out = new(string) + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) **out = **in } - if in.KeyName != nil { - in, out := &in.KeyName, &out.KeyName + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType *out = new(string) **out = **in } - if in.Monitoring != nil { - in, out := &in.Monitoring, &out.Monitoring +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceInitParameters. +func (in *LaunchSpecificationEBSBlockDeviceInitParameters) DeepCopy() *LaunchSpecificationEBSBlockDeviceInitParameters { + if in == nil { + return nil + } + out := new(LaunchSpecificationEBSBlockDeviceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationEBSBlockDeviceObservation) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceObservation) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(bool) **out = **in } - if in.PlacementGroup != nil { - in, out := &in.PlacementGroup, &out.PlacementGroup + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName *out = new(string) **out = **in } - if in.PlacementTenancy != nil { - in, out := &in.PlacementTenancy, &out.PlacementTenancy - *out = new(string) + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) **out = **in } - if in.RootBlockDevice != nil { - in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]LaunchSpecificationRootBlockDeviceInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in } - if in.SpotPrice != nil { - in, out := &in.SpotPrice, &out.SpotPrice + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData - *out = new(string) + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) **out = **in } - if in.VPCSecurityGroupIds != nil { - in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType + *out = new(string) + **out = **in } - if in.WeightedCapacity != nil { - in, out := &in.WeightedCapacity, &out.WeightedCapacity +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceObservation. +func (in *LaunchSpecificationEBSBlockDeviceObservation) DeepCopy() *LaunchSpecificationEBSBlockDeviceObservation { + if in == nil { + return nil + } + out := new(LaunchSpecificationEBSBlockDeviceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationEBSBlockDeviceParameters) DeepCopyInto(out *LaunchSpecificationEBSBlockDeviceParameters) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) + **out = **in + } + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.SnapshotID != nil { + in, out := &in.SnapshotID, &out.SnapshotID + *out = new(string) + **out = **in + } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationInitParameters. -func (in *LaunchSpecificationInitParameters) DeepCopy() *LaunchSpecificationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEBSBlockDeviceParameters. +func (in *LaunchSpecificationEBSBlockDeviceParameters) DeepCopy() *LaunchSpecificationEBSBlockDeviceParameters { if in == nil { return nil } - out := new(LaunchSpecificationInitParameters) + out := new(LaunchSpecificationEBSBlockDeviceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationObservation) { +func (in *LaunchSpecificationEphemeralBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceInitParameters) { + *out = *in + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceInitParameters. +func (in *LaunchSpecificationEphemeralBlockDeviceInitParameters) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceInitParameters { + if in == nil { + return nil + } + out := new(LaunchSpecificationEphemeralBlockDeviceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationEphemeralBlockDeviceObservation) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceObservation) { + *out = *in + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceObservation. +func (in *LaunchSpecificationEphemeralBlockDeviceObservation) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceObservation { + if in == nil { + return nil + } + out := new(LaunchSpecificationEphemeralBlockDeviceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationEphemeralBlockDeviceParameters) DeepCopyInto(out *LaunchSpecificationEphemeralBlockDeviceParameters) { + *out = *in + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.VirtualName != nil { + in, out := &in.VirtualName, &out.VirtualName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationEphemeralBlockDeviceParameters. +func (in *LaunchSpecificationEphemeralBlockDeviceParameters) DeepCopy() *LaunchSpecificationEphemeralBlockDeviceParameters { + if in == nil { + return nil + } + out := new(LaunchSpecificationEphemeralBlockDeviceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationInitParameters) DeepCopyInto(out *LaunchSpecificationInitParameters) { *out = *in if in.AMI != nil { in, out := &in.AMI, &out.AMI @@ -18536,7 +19167,7 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO } if in.EBSBlockDevice != nil { in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]LaunchSpecificationEBSBlockDeviceObservation, len(*in)) + *out = make([]LaunchSpecificationEBSBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18548,7 +19179,7 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO } if in.EphemeralBlockDevice != nil { in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]LaunchSpecificationEphemeralBlockDeviceObservation, len(*in)) + *out = make([]LaunchSpecificationEphemeralBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18563,6 +19194,16 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO *out = new(string) **out = **in } + if in.IAMInstanceProfileArnRef != nil { + in, out := &in.IAMInstanceProfileArnRef, &out.IAMInstanceProfileArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMInstanceProfileArnSelector != nil { + in, out := &in.IAMInstanceProfileArnSelector, &out.IAMInstanceProfileArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) @@ -18590,7 +19231,7 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO } if in.RootBlockDevice != nil { in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]LaunchSpecificationRootBlockDeviceObservation, len(*in)) + *out = make([]LaunchSpecificationRootBlockDeviceInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18644,18 +19285,18 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationObservation. -func (in *LaunchSpecificationObservation) DeepCopy() *LaunchSpecificationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationInitParameters. +func (in *LaunchSpecificationInitParameters) DeepCopy() *LaunchSpecificationInitParameters { if in == nil { return nil } - out := new(LaunchSpecificationObservation) + out := new(LaunchSpecificationInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationParameters) { +func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationObservation) { *out = *in if in.AMI != nil { in, out := &in.AMI, &out.AMI @@ -18674,7 +19315,7 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa } if in.EBSBlockDevice != nil { in, out := &in.EBSBlockDevice, &out.EBSBlockDevice - *out = make([]LaunchSpecificationEBSBlockDeviceParameters, len(*in)) + *out = make([]LaunchSpecificationEBSBlockDeviceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18686,7 +19327,7 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa } if in.EphemeralBlockDevice != nil { in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice - *out = make([]LaunchSpecificationEphemeralBlockDeviceParameters, len(*in)) + *out = make([]LaunchSpecificationEphemeralBlockDeviceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18701,16 +19342,6 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa *out = new(string) **out = **in } - if in.IAMInstanceProfileArnRef != nil { - in, out := &in.IAMInstanceProfileArnRef, &out.IAMInstanceProfileArnRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.IAMInstanceProfileArnSelector != nil { - in, out := &in.IAMInstanceProfileArnSelector, &out.IAMInstanceProfileArnSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.InstanceType != nil { in, out := &in.InstanceType, &out.InstanceType *out = new(string) @@ -18738,7 +19369,7 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa } if in.RootBlockDevice != nil { in, out := &in.RootBlockDevice, &out.RootBlockDevice - *out = make([]LaunchSpecificationRootBlockDeviceParameters, len(*in)) + *out = make([]LaunchSpecificationRootBlockDeviceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -18792,57 +19423,205 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationParameters. -func (in *LaunchSpecificationParameters) DeepCopy() *LaunchSpecificationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationObservation. +func (in *LaunchSpecificationObservation) DeepCopy() *LaunchSpecificationObservation { if in == nil { return nil } - out := new(LaunchSpecificationParameters) + out := new(LaunchSpecificationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchSpecificationRootBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationRootBlockDeviceInitParameters) { +func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationParameters) { *out = *in - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(bool) + if in.AMI != nil { + in, out := &in.AMI, &out.AMI + *out = new(string) **out = **in } - if in.Encrypted != nil { - in, out := &in.Encrypted, &out.Encrypted + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress *out = new(bool) **out = **in } - if in.Iops != nil { - in, out := &in.Iops, &out.Iops - *out = new(float64) - **out = **in - } - if in.KMSKeyID != nil { - in, out := &in.KMSKeyID, &out.KMSKeyID + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone *out = new(string) **out = **in } - if in.Throughput != nil { - in, out := &in.Throughput, &out.Throughput - *out = new(float64) + if in.EBSBlockDevice != nil { + in, out := &in.EBSBlockDevice, &out.EBSBlockDevice + *out = make([]LaunchSpecificationEBSBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EBSOptimized != nil { + in, out := &in.EBSOptimized, &out.EBSOptimized + *out = new(bool) **out = **in } - if in.VolumeSize != nil { - in, out := &in.VolumeSize, &out.VolumeSize - *out = new(float64) + if in.EphemeralBlockDevice != nil { + in, out := &in.EphemeralBlockDevice, &out.EphemeralBlockDevice + *out = make([]LaunchSpecificationEphemeralBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IAMInstanceProfile != nil { + in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + *out = new(string) **out = **in } - if in.VolumeType != nil { - in, out := &in.VolumeType, &out.VolumeType + if in.IAMInstanceProfileArn != nil { + in, out := &in.IAMInstanceProfileArn, &out.IAMInstanceProfileArn *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationRootBlockDeviceInitParameters. + if in.IAMInstanceProfileArnRef != nil { + in, out := &in.IAMInstanceProfileArnRef, &out.IAMInstanceProfileArnRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IAMInstanceProfileArnSelector != nil { + in, out := &in.IAMInstanceProfileArnSelector, &out.IAMInstanceProfileArnSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.Monitoring != nil { + in, out := &in.Monitoring, &out.Monitoring + *out = new(bool) + **out = **in + } + if in.PlacementGroup != nil { + in, out := &in.PlacementGroup, &out.PlacementGroup + *out = new(string) + **out = **in + } + if in.PlacementTenancy != nil { + in, out := &in.PlacementTenancy, &out.PlacementTenancy + *out = new(string) + **out = **in + } + if in.RootBlockDevice != nil { + in, out := &in.RootBlockDevice, &out.RootBlockDevice + *out = make([]LaunchSpecificationRootBlockDeviceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SpotPrice != nil { + in, out := &in.SpotPrice, &out.SpotPrice + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.UserData != nil { + in, out := &in.UserData, &out.UserData + *out = new(string) + **out = **in + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WeightedCapacity != nil { + in, out := &in.WeightedCapacity, &out.WeightedCapacity + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationParameters. +func (in *LaunchSpecificationParameters) DeepCopy() *LaunchSpecificationParameters { + if in == nil { + return nil + } + out := new(LaunchSpecificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchSpecificationRootBlockDeviceInitParameters) DeepCopyInto(out *LaunchSpecificationRootBlockDeviceInitParameters) { + *out = *in + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination + *out = new(bool) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Iops != nil { + in, out := &in.Iops, &out.Iops + *out = new(float64) + **out = **in + } + if in.KMSKeyID != nil { + in, out := &in.KMSKeyID, &out.KMSKeyID + *out = new(string) + **out = **in + } + if in.Throughput != nil { + in, out := &in.Throughput, &out.Throughput + *out = new(float64) + **out = **in + } + if in.VolumeSize != nil { + in, out := &in.VolumeSize, &out.VolumeSize + *out = new(float64) + **out = **in + } + if in.VolumeType != nil { + in, out := &in.VolumeType, &out.VolumeType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchSpecificationRootBlockDeviceInitParameters. func (in *LaunchSpecificationRootBlockDeviceInitParameters) DeepCopy() *LaunchSpecificationRootBlockDeviceInitParameters { if in == nil { return nil @@ -19179,6 +19958,136 @@ func (in *LaunchTemplateConfigInitParameters) DeepCopy() *LaunchTemplateConfigIn return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationInitParameters) DeepCopyInto(out *LaunchTemplateConfigLaunchTemplateSpecificationInitParameters) { + *out = *in + if in.LaunchTemplateID != nil { + in, out := &in.LaunchTemplateID, &out.LaunchTemplateID + *out = new(string) + **out = **in + } + if in.LaunchTemplateIDRef != nil { + in, out := &in.LaunchTemplateIDRef, &out.LaunchTemplateIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateIDSelector != nil { + in, out := &in.LaunchTemplateIDSelector, &out.LaunchTemplateIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateName != nil { + in, out := &in.LaunchTemplateName, &out.LaunchTemplateName + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateConfigLaunchTemplateSpecificationInitParameters. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationInitParameters) DeepCopy() *LaunchTemplateConfigLaunchTemplateSpecificationInitParameters { + if in == nil { + return nil + } + out := new(LaunchTemplateConfigLaunchTemplateSpecificationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationObservation) DeepCopyInto(out *LaunchTemplateConfigLaunchTemplateSpecificationObservation) { + *out = *in + if in.LaunchTemplateID != nil { + in, out := &in.LaunchTemplateID, &out.LaunchTemplateID + *out = new(string) + **out = **in + } + if in.LaunchTemplateName != nil { + in, out := &in.LaunchTemplateName, &out.LaunchTemplateName + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateConfigLaunchTemplateSpecificationObservation. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationObservation) DeepCopy() *LaunchTemplateConfigLaunchTemplateSpecificationObservation { + if in == nil { + return nil + } + out := new(LaunchTemplateConfigLaunchTemplateSpecificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationParameters) DeepCopyInto(out *LaunchTemplateConfigLaunchTemplateSpecificationParameters) { + *out = *in + if in.LaunchTemplateID != nil { + in, out := &in.LaunchTemplateID, &out.LaunchTemplateID + *out = new(string) + **out = **in + } + if in.LaunchTemplateIDRef != nil { + in, out := &in.LaunchTemplateIDRef, &out.LaunchTemplateIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateIDSelector != nil { + in, out := &in.LaunchTemplateIDSelector, &out.LaunchTemplateIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.LaunchTemplateName != nil { + in, out := &in.LaunchTemplateName, &out.LaunchTemplateName + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateConfigLaunchTemplateSpecificationParameters. +func (in *LaunchTemplateConfigLaunchTemplateSpecificationParameters) DeepCopy() *LaunchTemplateConfigLaunchTemplateSpecificationParameters { + if in == nil { + return nil + } + out := new(LaunchTemplateConfigLaunchTemplateSpecificationParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplateConfigObservation) DeepCopyInto(out *LaunchTemplateConfigObservation) { *out = *in @@ -20244,255 +21153,1665 @@ func (in *LaunchTemplateObservation_2) DeepCopyInto(out *LaunchTemplateObservati (*out)[key] = outVal } } - if in.UpdateDefaultVersion != nil { - in, out := &in.UpdateDefaultVersion, &out.UpdateDefaultVersion - *out = new(bool) + if in.UpdateDefaultVersion != nil { + in, out := &in.UpdateDefaultVersion, &out.UpdateDefaultVersion + *out = new(bool) + **out = **in + } + if in.UserData != nil { + in, out := &in.UserData, &out.UserData + *out = new(string) + **out = **in + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateObservation_2. +func (in *LaunchTemplateObservation_2) DeepCopy() *LaunchTemplateObservation_2 { + if in == nil { + return nil + } + out := new(LaunchTemplateObservation_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateParameters) DeepCopyInto(out *LaunchTemplateParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters. +func (in *LaunchTemplateParameters) DeepCopy() *LaunchTemplateParameters { + if in == nil { + return nil + } + out := new(LaunchTemplateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateParameters_2) DeepCopyInto(out *LaunchTemplateParameters_2) { + *out = *in + if in.BlockDeviceMappings != nil { + in, out := &in.BlockDeviceMappings, &out.BlockDeviceMappings + *out = make([]BlockDeviceMappingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CPUOptions != nil { + in, out := &in.CPUOptions, &out.CPUOptions + *out = make([]LaunchTemplateCPUOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CapacityReservationSpecification != nil { + in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification + *out = make([]LaunchTemplateCapacityReservationSpecificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CreditSpecification != nil { + in, out := &in.CreditSpecification, &out.CreditSpecification + *out = make([]LaunchTemplateCreditSpecificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultVersion != nil { + in, out := &in.DefaultVersion, &out.DefaultVersion + *out = new(float64) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisableAPIStop != nil { + in, out := &in.DisableAPIStop, &out.DisableAPIStop + *out = new(bool) + **out = **in + } + if in.DisableAPITermination != nil { + in, out := &in.DisableAPITermination, &out.DisableAPITermination + *out = new(bool) + **out = **in + } + if in.EBSOptimized != nil { + in, out := &in.EBSOptimized, &out.EBSOptimized + *out = new(string) + **out = **in + } + if in.ElasticGpuSpecifications != nil { + in, out := &in.ElasticGpuSpecifications, &out.ElasticGpuSpecifications + *out = make([]ElasticGpuSpecificationsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ElasticInferenceAccelerator != nil { + in, out := &in.ElasticInferenceAccelerator, &out.ElasticInferenceAccelerator + *out = make([]ElasticInferenceAcceleratorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnclaveOptions != nil { + in, out := &in.EnclaveOptions, &out.EnclaveOptions + *out = make([]LaunchTemplateEnclaveOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HibernationOptions != nil { + in, out := &in.HibernationOptions, &out.HibernationOptions + *out = make([]HibernationOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IAMInstanceProfile != nil { + in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile + *out = make([]IAMInstanceProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ImageID != nil { + in, out := &in.ImageID, &out.ImageID + *out = new(string) + **out = **in + } + if in.InstanceInitiatedShutdownBehavior != nil { + in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + *out = new(string) + **out = **in + } + if in.InstanceMarketOptions != nil { + in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions + *out = make([]LaunchTemplateInstanceMarketOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceRequirements != nil { + in, out := &in.InstanceRequirements, &out.InstanceRequirements + *out = make([]InstanceRequirementsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.KernelID != nil { + in, out := &in.KernelID, &out.KernelID + *out = new(string) + **out = **in + } + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.LicenseSpecification != nil { + in, out := &in.LicenseSpecification, &out.LicenseSpecification + *out = make([]LicenseSpecificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaintenanceOptions != nil { + in, out := &in.MaintenanceOptions, &out.MaintenanceOptions + *out = make([]LaunchTemplateMaintenanceOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MetadataOptions != nil { + in, out := &in.MetadataOptions, &out.MetadataOptions + *out = make([]LaunchTemplateMetadataOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitoring != nil { + in, out := &in.Monitoring, &out.Monitoring + *out = make([]MonitoringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterfaces != nil { + in, out := &in.NetworkInterfaces, &out.NetworkInterfaces + *out = make([]NetworkInterfacesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Placement != nil { + in, out := &in.Placement, &out.Placement + *out = make([]PlacementParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateDNSNameOptions != nil { + in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions + *out = make([]LaunchTemplatePrivateDNSNameOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RAMDiskID != nil { + in, out := &in.RAMDiskID, &out.RAMDiskID + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SecurityGroupNameRefs != nil { + in, out := &in.SecurityGroupNameRefs, &out.SecurityGroupNameRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupNameSelector != nil { + in, out := &in.SecurityGroupNameSelector, &out.SecurityGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupNames != nil { + in, out := &in.SecurityGroupNames, &out.SecurityGroupNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TagSpecifications != nil { + in, out := &in.TagSpecifications, &out.TagSpecifications + *out = make([]TagSpecificationsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.UpdateDefaultVersion != nil { + in, out := &in.UpdateDefaultVersion, &out.UpdateDefaultVersion + *out = new(bool) + **out = **in + } + if in.UserData != nil { + in, out := &in.UserData, &out.UserData + *out = new(string) + **out = **in + } + if in.VPCSecurityGroupIDRefs != nil { + in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPCSecurityGroupIDSelector != nil { + in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCSecurityGroupIds != nil { + in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters_2. +func (in *LaunchTemplateParameters_2) DeepCopy() *LaunchTemplateParameters_2 { + if in == nil { + return nil + } + out := new(LaunchTemplateParameters_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplatePrivateDNSNameOptionsInitParameters) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsInitParameters) { + *out = *in + if in.EnableResourceNameDNSARecord != nil { + in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord + *out = new(bool) + **out = **in + } + if in.EnableResourceNameDNSAaaaRecord != nil { + in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord + *out = new(bool) + **out = **in + } + if in.HostnameType != nil { + in, out := &in.HostnameType, &out.HostnameType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsInitParameters. +func (in *LaunchTemplatePrivateDNSNameOptionsInitParameters) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsInitParameters { + if in == nil { + return nil + } + out := new(LaunchTemplatePrivateDNSNameOptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplatePrivateDNSNameOptionsObservation) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsObservation) { + *out = *in + if in.EnableResourceNameDNSARecord != nil { + in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord + *out = new(bool) + **out = **in + } + if in.EnableResourceNameDNSAaaaRecord != nil { + in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord + *out = new(bool) + **out = **in + } + if in.HostnameType != nil { + in, out := &in.HostnameType, &out.HostnameType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsObservation. +func (in *LaunchTemplatePrivateDNSNameOptionsObservation) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsObservation { + if in == nil { + return nil + } + out := new(LaunchTemplatePrivateDNSNameOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplatePrivateDNSNameOptionsParameters) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsParameters) { + *out = *in + if in.EnableResourceNameDNSARecord != nil { + in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord + *out = new(bool) + **out = **in + } + if in.EnableResourceNameDNSAaaaRecord != nil { + in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord + *out = new(bool) + **out = **in + } + if in.HostnameType != nil { + in, out := &in.HostnameType, &out.HostnameType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsParameters. +func (in *LaunchTemplatePrivateDNSNameOptionsParameters) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsParameters { + if in == nil { + return nil + } + out := new(LaunchTemplatePrivateDNSNameOptionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateSpec) DeepCopyInto(out *LaunchTemplateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpec. +func (in *LaunchTemplateSpec) DeepCopy() *LaunchTemplateSpec { + if in == nil { + return nil + } + out := new(LaunchTemplateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateSpecificationInitParameters) DeepCopyInto(out *LaunchTemplateSpecificationInitParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IDRef != nil { + in, out := &in.IDRef, &out.IDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IDSelector != nil { + in, out := &in.IDSelector, &out.IDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationInitParameters. +func (in *LaunchTemplateSpecificationInitParameters) DeepCopy() *LaunchTemplateSpecificationInitParameters { + if in == nil { + return nil + } + out := new(LaunchTemplateSpecificationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateSpecificationObservation) DeepCopyInto(out *LaunchTemplateSpecificationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationObservation. +func (in *LaunchTemplateSpecificationObservation) DeepCopy() *LaunchTemplateSpecificationObservation { + if in == nil { + return nil + } + out := new(LaunchTemplateSpecificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateSpecificationParameters) DeepCopyInto(out *LaunchTemplateSpecificationParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IDRef != nil { + in, out := &in.IDRef, &out.IDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.IDSelector != nil { + in, out := &in.IDSelector, &out.IDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionRef != nil { + in, out := &in.VersionRef, &out.VersionRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VersionSelector != nil { + in, out := &in.VersionSelector, &out.VersionSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationParameters. +func (in *LaunchTemplateSpecificationParameters) DeepCopy() *LaunchTemplateSpecificationParameters { + if in == nil { + return nil + } + out := new(LaunchTemplateSpecificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LaunchTemplateStatus) DeepCopyInto(out *LaunchTemplateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateStatus. +func (in *LaunchTemplateStatus) DeepCopy() *LaunchTemplateStatus { + if in == nil { + return nil + } + out := new(LaunchTemplateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LicenseSpecificationInitParameters) DeepCopyInto(out *LicenseSpecificationInitParameters) { + *out = *in + if in.LicenseConfigurationArn != nil { + in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationInitParameters. +func (in *LicenseSpecificationInitParameters) DeepCopy() *LicenseSpecificationInitParameters { + if in == nil { + return nil + } + out := new(LicenseSpecificationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LicenseSpecificationObservation) DeepCopyInto(out *LicenseSpecificationObservation) { + *out = *in + if in.LicenseConfigurationArn != nil { + in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationObservation. +func (in *LicenseSpecificationObservation) DeepCopy() *LicenseSpecificationObservation { + if in == nil { + return nil + } + out := new(LicenseSpecificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LicenseSpecificationParameters) DeepCopyInto(out *LicenseSpecificationParameters) { + *out = *in + if in.LicenseConfigurationArn != nil { + in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationParameters. +func (in *LicenseSpecificationParameters) DeepCopy() *LicenseSpecificationParameters { + if in == nil { + return nil + } + out := new(LicenseSpecificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupInitParameters) DeepCopyInto(out *LoadBalancerTargetGroupInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupInitParameters. +func (in *LoadBalancerTargetGroupInitParameters) DeepCopy() *LoadBalancerTargetGroupInitParameters { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupObservation) DeepCopyInto(out *LoadBalancerTargetGroupObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupObservation. +func (in *LoadBalancerTargetGroupObservation) DeepCopy() *LoadBalancerTargetGroupObservation { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupParameters) DeepCopyInto(out *LoadBalancerTargetGroupParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupParameters. +func (in *LoadBalancerTargetGroupParameters) DeepCopy() *LoadBalancerTargetGroupParameters { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupsInitParameters) DeepCopyInto(out *LoadBalancerTargetGroupsInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsInitParameters. +func (in *LoadBalancerTargetGroupsInitParameters) DeepCopy() *LoadBalancerTargetGroupsInitParameters { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupsObservation) DeepCopyInto(out *LoadBalancerTargetGroupsObservation) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsObservation. +func (in *LoadBalancerTargetGroupsObservation) DeepCopy() *LoadBalancerTargetGroupsObservation { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerTargetGroupsParameters) DeepCopyInto(out *LoadBalancerTargetGroupsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsParameters. +func (in *LoadBalancerTargetGroupsParameters) DeepCopy() *LoadBalancerTargetGroupsParameters { + if in == nil { + return nil + } + out := new(LoadBalancerTargetGroupsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociation) DeepCopyInto(out *MainRouteTableAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociation. +func (in *MainRouteTableAssociation) DeepCopy() *MainRouteTableAssociation { + if in == nil { + return nil + } + out := new(MainRouteTableAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MainRouteTableAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationInitParameters) DeepCopyInto(out *MainRouteTableAssociationInitParameters) { + *out = *in + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + if in.RouteTableIDRef != nil { + in, out := &in.RouteTableIDRef, &out.RouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RouteTableIDSelector != nil { + in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationInitParameters. +func (in *MainRouteTableAssociationInitParameters) DeepCopy() *MainRouteTableAssociationInitParameters { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationList) DeepCopyInto(out *MainRouteTableAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MainRouteTableAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationList. +func (in *MainRouteTableAssociationList) DeepCopy() *MainRouteTableAssociationList { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MainRouteTableAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationObservation) DeepCopyInto(out *MainRouteTableAssociationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.OriginalRouteTableID != nil { + in, out := &in.OriginalRouteTableID, &out.OriginalRouteTableID + *out = new(string) + **out = **in + } + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationObservation. +func (in *MainRouteTableAssociationObservation) DeepCopy() *MainRouteTableAssociationObservation { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationParameters) DeepCopyInto(out *MainRouteTableAssociationParameters) { + *out = *in + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + if in.RouteTableIDRef != nil { + in, out := &in.RouteTableIDRef, &out.RouteTableIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.RouteTableIDSelector != nil { + in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationParameters. +func (in *MainRouteTableAssociationParameters) DeepCopy() *MainRouteTableAssociationParameters { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationSpec) DeepCopyInto(out *MainRouteTableAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationSpec. +func (in *MainRouteTableAssociationSpec) DeepCopy() *MainRouteTableAssociationSpec { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MainRouteTableAssociationStatus) DeepCopyInto(out *MainRouteTableAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationStatus. +func (in *MainRouteTableAssociationStatus) DeepCopy() *MainRouteTableAssociationStatus { + if in == nil { + return nil + } + out := new(MainRouteTableAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceOptionsInitParameters) DeepCopyInto(out *MaintenanceOptionsInitParameters) { + *out = *in + if in.AutoRecovery != nil { + in, out := &in.AutoRecovery, &out.AutoRecovery + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsInitParameters. +func (in *MaintenanceOptionsInitParameters) DeepCopy() *MaintenanceOptionsInitParameters { + if in == nil { + return nil + } + out := new(MaintenanceOptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceOptionsObservation) DeepCopyInto(out *MaintenanceOptionsObservation) { + *out = *in + if in.AutoRecovery != nil { + in, out := &in.AutoRecovery, &out.AutoRecovery + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsObservation. +func (in *MaintenanceOptionsObservation) DeepCopy() *MaintenanceOptionsObservation { + if in == nil { + return nil + } + out := new(MaintenanceOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceOptionsParameters) DeepCopyInto(out *MaintenanceOptionsParameters) { + *out = *in + if in.AutoRecovery != nil { + in, out := &in.AutoRecovery, &out.AutoRecovery + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsParameters. +func (in *MaintenanceOptionsParameters) DeepCopy() *MaintenanceOptionsParameters { + if in == nil { + return nil + } + out := new(MaintenanceOptionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesCapacityRebalanceInitParameters) DeepCopyInto(out *MaintenanceStrategiesCapacityRebalanceInitParameters) { + *out = *in + if in.ReplacementStrategy != nil { + in, out := &in.ReplacementStrategy, &out.ReplacementStrategy + *out = new(string) + **out = **in + } + if in.TerminationDelay != nil { + in, out := &in.TerminationDelay, &out.TerminationDelay + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesCapacityRebalanceInitParameters. +func (in *MaintenanceStrategiesCapacityRebalanceInitParameters) DeepCopy() *MaintenanceStrategiesCapacityRebalanceInitParameters { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesCapacityRebalanceInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesCapacityRebalanceObservation) DeepCopyInto(out *MaintenanceStrategiesCapacityRebalanceObservation) { + *out = *in + if in.ReplacementStrategy != nil { + in, out := &in.ReplacementStrategy, &out.ReplacementStrategy + *out = new(string) + **out = **in + } + if in.TerminationDelay != nil { + in, out := &in.TerminationDelay, &out.TerminationDelay + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesCapacityRebalanceObservation. +func (in *MaintenanceStrategiesCapacityRebalanceObservation) DeepCopy() *MaintenanceStrategiesCapacityRebalanceObservation { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesCapacityRebalanceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesCapacityRebalanceParameters) DeepCopyInto(out *MaintenanceStrategiesCapacityRebalanceParameters) { + *out = *in + if in.ReplacementStrategy != nil { + in, out := &in.ReplacementStrategy, &out.ReplacementStrategy + *out = new(string) + **out = **in + } + if in.TerminationDelay != nil { + in, out := &in.TerminationDelay, &out.TerminationDelay + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesCapacityRebalanceParameters. +func (in *MaintenanceStrategiesCapacityRebalanceParameters) DeepCopy() *MaintenanceStrategiesCapacityRebalanceParameters { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesCapacityRebalanceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesInitParameters) DeepCopyInto(out *MaintenanceStrategiesInitParameters) { + *out = *in + if in.CapacityRebalance != nil { + in, out := &in.CapacityRebalance, &out.CapacityRebalance + *out = new(MaintenanceStrategiesCapacityRebalanceInitParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesInitParameters. +func (in *MaintenanceStrategiesInitParameters) DeepCopy() *MaintenanceStrategiesInitParameters { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesObservation) DeepCopyInto(out *MaintenanceStrategiesObservation) { + *out = *in + if in.CapacityRebalance != nil { + in, out := &in.CapacityRebalance, &out.CapacityRebalance + *out = new(MaintenanceStrategiesCapacityRebalanceObservation) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesObservation. +func (in *MaintenanceStrategiesObservation) DeepCopy() *MaintenanceStrategiesObservation { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenanceStrategiesParameters) DeepCopyInto(out *MaintenanceStrategiesParameters) { + *out = *in + if in.CapacityRebalance != nil { + in, out := &in.CapacityRebalance, &out.CapacityRebalance + *out = new(MaintenanceStrategiesCapacityRebalanceParameters) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceStrategiesParameters. +func (in *MaintenanceStrategiesParameters) DeepCopy() *MaintenanceStrategiesParameters { + if in == nil { + return nil + } + out := new(MaintenanceStrategiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixList) DeepCopyInto(out *ManagedPrefixList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixList. +func (in *ManagedPrefixList) DeepCopy() *ManagedPrefixList { + if in == nil { + return nil + } + out := new(ManagedPrefixList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrefixList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListEntry) DeepCopyInto(out *ManagedPrefixListEntry) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntry. +func (in *ManagedPrefixListEntry) DeepCopy() *ManagedPrefixListEntry { + if in == nil { + return nil + } + out := new(ManagedPrefixListEntry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrefixListEntry) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListEntryInitParameters) DeepCopyInto(out *ManagedPrefixListEntryInitParameters) { + *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in + } + if in.CidrRef != nil { + in, out := &in.CidrRef, &out.CidrRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.CidrSelector != nil { + in, out := &in.CidrSelector, &out.CidrSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) **out = **in } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID *out = new(string) **out = **in } - if in.VPCSecurityGroupIds != nil { - in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds - *out = make([]*string, len(*in)) + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryInitParameters. +func (in *ManagedPrefixListEntryInitParameters) DeepCopy() *ManagedPrefixListEntryInitParameters { + if in == nil { + return nil + } + out := new(ManagedPrefixListEntryInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListEntryList) DeepCopyInto(out *ManagedPrefixListEntryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedPrefixListEntry, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateObservation_2. -func (in *LaunchTemplateObservation_2) DeepCopy() *LaunchTemplateObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryList. +func (in *ManagedPrefixListEntryList) DeepCopy() *ManagedPrefixListEntryList { if in == nil { return nil } - out := new(LaunchTemplateObservation_2) + out := new(ManagedPrefixListEntryList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrefixListEntryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateParameters) DeepCopyInto(out *LaunchTemplateParameters) { +func (in *ManagedPrefixListEntryObservation) DeepCopyInto(out *ManagedPrefixListEntryObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters. -func (in *LaunchTemplateParameters) DeepCopy() *LaunchTemplateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryObservation. +func (in *ManagedPrefixListEntryObservation) DeepCopy() *ManagedPrefixListEntryObservation { if in == nil { return nil } - out := new(LaunchTemplateParameters) + out := new(ManagedPrefixListEntryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateParameters_2) DeepCopyInto(out *LaunchTemplateParameters_2) { +func (in *ManagedPrefixListEntryParameters) DeepCopyInto(out *ManagedPrefixListEntryParameters) { *out = *in - if in.BlockDeviceMappings != nil { - in, out := &in.BlockDeviceMappings, &out.BlockDeviceMappings - *out = make([]BlockDeviceMappingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CPUOptions != nil { - in, out := &in.CPUOptions, &out.CPUOptions - *out = make([]LaunchTemplateCPUOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CapacityReservationSpecification != nil { - in, out := &in.CapacityReservationSpecification, &out.CapacityReservationSpecification - *out = make([]LaunchTemplateCapacityReservationSpecificationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in } - if in.CreditSpecification != nil { - in, out := &in.CreditSpecification, &out.CreditSpecification - *out = make([]LaunchTemplateCreditSpecificationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.CidrRef != nil { + in, out := &in.CidrRef, &out.CidrRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.DefaultVersion != nil { - in, out := &in.DefaultVersion, &out.DefaultVersion - *out = new(float64) - **out = **in + if in.CidrSelector != nil { + in, out := &in.CidrSelector, &out.CidrSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.DisableAPIStop != nil { - in, out := &in.DisableAPIStop, &out.DisableAPIStop - *out = new(bool) + if in.PrefixListID != nil { + in, out := &in.PrefixListID, &out.PrefixListID + *out = new(string) **out = **in } - if in.DisableAPITermination != nil { - in, out := &in.DisableAPITermination, &out.DisableAPITermination - *out = new(bool) + if in.PrefixListIDRef != nil { + in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.PrefixListIDSelector != nil { + in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } - if in.EBSOptimized != nil { - in, out := &in.EBSOptimized, &out.EBSOptimized +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryParameters. +func (in *ManagedPrefixListEntryParameters) DeepCopy() *ManagedPrefixListEntryParameters { + if in == nil { + return nil + } + out := new(ManagedPrefixListEntryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListEntrySpec) DeepCopyInto(out *ManagedPrefixListEntrySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntrySpec. +func (in *ManagedPrefixListEntrySpec) DeepCopy() *ManagedPrefixListEntrySpec { + if in == nil { + return nil + } + out := new(ManagedPrefixListEntrySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListEntryStatus) DeepCopyInto(out *ManagedPrefixListEntryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryStatus. +func (in *ManagedPrefixListEntryStatus) DeepCopy() *ManagedPrefixListEntryStatus { + if in == nil { + return nil + } + out := new(ManagedPrefixListEntryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListInitParameters) DeepCopyInto(out *ManagedPrefixListInitParameters) { + *out = *in + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily *out = new(string) **out = **in } - if in.ElasticGpuSpecifications != nil { - in, out := &in.ElasticGpuSpecifications, &out.ElasticGpuSpecifications - *out = make([]ElasticGpuSpecificationsParameters, len(*in)) + if in.Entry != nil { + in, out := &in.Entry, &out.Entry + *out = make([]EntryInitParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ElasticInferenceAccelerator != nil { - in, out := &in.ElasticInferenceAccelerator, &out.ElasticInferenceAccelerator - *out = make([]ElasticInferenceAcceleratorParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.MaxEntries != nil { + in, out := &in.MaxEntries, &out.MaxEntries + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.EnclaveOptions != nil { - in, out := &in.EnclaveOptions, &out.EnclaveOptions - *out = make([]LaunchTemplateEnclaveOptionsParameters, len(*in)) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListInitParameters. +func (in *ManagedPrefixListInitParameters) DeepCopy() *ManagedPrefixListInitParameters { + if in == nil { + return nil + } + out := new(ManagedPrefixListInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListList) DeepCopyInto(out *ManagedPrefixListList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedPrefixList, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.HibernationOptions != nil { - in, out := &in.HibernationOptions, &out.HibernationOptions - *out = make([]HibernationOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListList. +func (in *ManagedPrefixListList) DeepCopy() *ManagedPrefixListList { + if in == nil { + return nil } - if in.IAMInstanceProfile != nil { - in, out := &in.IAMInstanceProfile, &out.IAMInstanceProfile - *out = make([]IAMInstanceProfileParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(ManagedPrefixListList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrefixListList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.ImageID != nil { - in, out := &in.ImageID, &out.ImageID + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListObservation) DeepCopyInto(out *ManagedPrefixListObservation) { + *out = *in + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily *out = new(string) **out = **in } - if in.InstanceInitiatedShutdownBehavior != nil { - in, out := &in.InstanceInitiatedShutdownBehavior, &out.InstanceInitiatedShutdownBehavior + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.InstanceMarketOptions != nil { - in, out := &in.InstanceMarketOptions, &out.InstanceMarketOptions - *out = make([]LaunchTemplateInstanceMarketOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.InstanceRequirements != nil { - in, out := &in.InstanceRequirements, &out.InstanceRequirements - *out = make([]InstanceRequirementsParameters, len(*in)) + if in.Entry != nil { + in, out := &in.Entry, &out.Entry + *out = make([]EntryObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.InstanceType != nil { - in, out := &in.InstanceType, &out.InstanceType + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.KernelID != nil { - in, out := &in.KernelID, &out.KernelID + if in.MaxEntries != nil { + in, out := &in.MaxEntries, &out.MaxEntries + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.KeyName != nil { - in, out := &in.KeyName, &out.KeyName + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } - if in.LicenseSpecification != nil { - in, out := &in.LicenseSpecification, &out.LicenseSpecification - *out = make([]LicenseSpecificationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.MaintenanceOptions != nil { - in, out := &in.MaintenanceOptions, &out.MaintenanceOptions - *out = make([]LaunchTemplateMaintenanceOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } - if in.MetadataOptions != nil { - in, out := &in.MetadataOptions, &out.MetadataOptions - *out = make([]LaunchTemplateMetadataOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(float64) + **out = **in } - if in.Monitoring != nil { - in, out := &in.Monitoring, &out.Monitoring - *out = make([]MonitoringParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListObservation. +func (in *ManagedPrefixListObservation) DeepCopy() *ManagedPrefixListObservation { + if in == nil { + return nil } - if in.Name != nil { - in, out := &in.Name, &out.Name + out := new(ManagedPrefixListObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListParameters) DeepCopyInto(out *ManagedPrefixListParameters) { + *out = *in + if in.AddressFamily != nil { + in, out := &in.AddressFamily, &out.AddressFamily *out = new(string) **out = **in } - if in.NetworkInterfaces != nil { - in, out := &in.NetworkInterfaces, &out.NetworkInterfaces - *out = make([]NetworkInterfacesParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Placement != nil { - in, out := &in.Placement, &out.Placement - *out = make([]PlacementParameters, len(*in)) + if in.Entry != nil { + in, out := &in.Entry, &out.Entry + *out = make([]EntryParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.PrivateDNSNameOptions != nil { - in, out := &in.PrivateDNSNameOptions, &out.PrivateDNSNameOptions - *out = make([]LaunchTemplatePrivateDNSNameOptionsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.MaxEntries != nil { + in, out := &in.MaxEntries, &out.MaxEntries + *out = new(float64) + **out = **in } - if in.RAMDiskID != nil { - in, out := &in.RAMDiskID, &out.RAMDiskID + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } @@ -20501,432 +22820,616 @@ func (in *LaunchTemplateParameters_2) DeepCopyInto(out *LaunchTemplateParameters *out = new(string) **out = **in } - if in.SecurityGroupNameRefs != nil { - in, out := &in.SecurityGroupNameRefs, &out.SecurityGroupNameRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListParameters. +func (in *ManagedPrefixListParameters) DeepCopy() *ManagedPrefixListParameters { + if in == nil { + return nil + } + out := new(ManagedPrefixListParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListSpec) DeepCopyInto(out *ManagedPrefixListSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListSpec. +func (in *ManagedPrefixListSpec) DeepCopy() *ManagedPrefixListSpec { + if in == nil { + return nil + } + out := new(ManagedPrefixListSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrefixListStatus) DeepCopyInto(out *ManagedPrefixListStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListStatus. +func (in *ManagedPrefixListStatus) DeepCopy() *ManagedPrefixListStatus { + if in == nil { + return nil + } + out := new(ManagedPrefixListStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemoryGibPerVcpuInitParameters) DeepCopyInto(out *MemoryGibPerVcpuInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } - if in.SecurityGroupNameSelector != nil { - in, out := &in.SecurityGroupNameSelector, &out.SecurityGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuInitParameters. +func (in *MemoryGibPerVcpuInitParameters) DeepCopy() *MemoryGibPerVcpuInitParameters { + if in == nil { + return nil } - if in.SecurityGroupNames != nil { - in, out := &in.SecurityGroupNames, &out.SecurityGroupNames - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + out := new(MemoryGibPerVcpuInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemoryGibPerVcpuObservation) DeepCopyInto(out *MemoryGibPerVcpuObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in } - if in.TagSpecifications != nil { - in, out := &in.TagSpecifications, &out.TagSpecifications - *out = make([]TagSpecificationsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuObservation. +func (in *MemoryGibPerVcpuObservation) DeepCopy() *MemoryGibPerVcpuObservation { + if in == nil { + return nil } - if in.UpdateDefaultVersion != nil { - in, out := &in.UpdateDefaultVersion, &out.UpdateDefaultVersion - *out = new(bool) + out := new(MemoryGibPerVcpuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemoryGibPerVcpuParameters) DeepCopyInto(out *MemoryGibPerVcpuParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.UserData != nil { - in, out := &in.UserData, &out.UserData - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.VPCSecurityGroupIDRefs != nil { - in, out := &in.VPCSecurityGroupIDRefs, &out.VPCSecurityGroupIDRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuParameters. +func (in *MemoryGibPerVcpuParameters) DeepCopy() *MemoryGibPerVcpuParameters { + if in == nil { + return nil } - if in.VPCSecurityGroupIDSelector != nil { - in, out := &in.VPCSecurityGroupIDSelector, &out.VPCSecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + out := new(MemoryGibPerVcpuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MemoryMibInitParameters) DeepCopyInto(out *MemoryMibInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in } - if in.VPCSecurityGroupIds != nil { - in, out := &in.VPCSecurityGroupIds, &out.VPCSecurityGroupIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters_2. -func (in *LaunchTemplateParameters_2) DeepCopy() *LaunchTemplateParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibInitParameters. +func (in *MemoryMibInitParameters) DeepCopy() *MemoryMibInitParameters { if in == nil { return nil } - out := new(LaunchTemplateParameters_2) + out := new(MemoryMibInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplatePrivateDNSNameOptionsInitParameters) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsInitParameters) { +func (in *MemoryMibObservation) DeepCopyInto(out *MemoryMibObservation) { *out = *in - if in.EnableResourceNameDNSARecord != nil { - in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord - *out = new(bool) - **out = **in - } - if in.EnableResourceNameDNSAaaaRecord != nil { - in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord - *out = new(bool) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.HostnameType != nil { - in, out := &in.HostnameType, &out.HostnameType - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsInitParameters. -func (in *LaunchTemplatePrivateDNSNameOptionsInitParameters) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibObservation. +func (in *MemoryMibObservation) DeepCopy() *MemoryMibObservation { if in == nil { return nil } - out := new(LaunchTemplatePrivateDNSNameOptionsInitParameters) + out := new(MemoryMibObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplatePrivateDNSNameOptionsObservation) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsObservation) { +func (in *MemoryMibParameters) DeepCopyInto(out *MemoryMibParameters) { *out = *in - if in.EnableResourceNameDNSARecord != nil { - in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord - *out = new(bool) - **out = **in - } - if in.EnableResourceNameDNSAaaaRecord != nil { - in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord - *out = new(bool) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.HostnameType != nil { - in, out := &in.HostnameType, &out.HostnameType - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsObservation. -func (in *LaunchTemplatePrivateDNSNameOptionsObservation) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibParameters. +func (in *MemoryMibParameters) DeepCopy() *MemoryMibParameters { if in == nil { return nil } - out := new(LaunchTemplatePrivateDNSNameOptionsObservation) + out := new(MemoryMibParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplatePrivateDNSNameOptionsParameters) DeepCopyInto(out *LaunchTemplatePrivateDNSNameOptionsParameters) { +func (in *MetadataOptionsInitParameters) DeepCopyInto(out *MetadataOptionsInitParameters) { *out = *in - if in.EnableResourceNameDNSARecord != nil { - in, out := &in.EnableResourceNameDNSARecord, &out.EnableResourceNameDNSARecord - *out = new(bool) + if in.HTTPEndpoint != nil { + in, out := &in.HTTPEndpoint, &out.HTTPEndpoint + *out = new(string) **out = **in } - if in.EnableResourceNameDNSAaaaRecord != nil { - in, out := &in.EnableResourceNameDNSAaaaRecord, &out.EnableResourceNameDNSAaaaRecord - *out = new(bool) + if in.HTTPProtocolIPv6 != nil { + in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 + *out = new(string) **out = **in } - if in.HostnameType != nil { - in, out := &in.HostnameType, &out.HostnameType + if in.HTTPPutResponseHopLimit != nil { + in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit + *out = new(float64) + **out = **in + } + if in.HTTPTokens != nil { + in, out := &in.HTTPTokens, &out.HTTPTokens + *out = new(string) + **out = **in + } + if in.InstanceMetadataTags != nil { + in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplatePrivateDNSNameOptionsParameters. -func (in *LaunchTemplatePrivateDNSNameOptionsParameters) DeepCopy() *LaunchTemplatePrivateDNSNameOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsInitParameters. +func (in *MetadataOptionsInitParameters) DeepCopy() *MetadataOptionsInitParameters { if in == nil { return nil } - out := new(LaunchTemplatePrivateDNSNameOptionsParameters) + out := new(MetadataOptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateSpec) DeepCopyInto(out *LaunchTemplateSpec) { +func (in *MetadataOptionsObservation) DeepCopyInto(out *MetadataOptionsObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.HTTPEndpoint != nil { + in, out := &in.HTTPEndpoint, &out.HTTPEndpoint + *out = new(string) + **out = **in + } + if in.HTTPProtocolIPv6 != nil { + in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 + *out = new(string) + **out = **in + } + if in.HTTPPutResponseHopLimit != nil { + in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit + *out = new(float64) + **out = **in + } + if in.HTTPTokens != nil { + in, out := &in.HTTPTokens, &out.HTTPTokens + *out = new(string) + **out = **in + } + if in.InstanceMetadataTags != nil { + in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpec. -func (in *LaunchTemplateSpec) DeepCopy() *LaunchTemplateSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsObservation. +func (in *MetadataOptionsObservation) DeepCopy() *MetadataOptionsObservation { if in == nil { return nil } - out := new(LaunchTemplateSpec) + out := new(MetadataOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateSpecificationInitParameters) DeepCopyInto(out *LaunchTemplateSpecificationInitParameters) { +func (in *MetadataOptionsParameters) DeepCopyInto(out *MetadataOptionsParameters) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.HTTPEndpoint != nil { + in, out := &in.HTTPEndpoint, &out.HTTPEndpoint *out = new(string) **out = **in } - if in.IDRef != nil { - in, out := &in.IDRef, &out.IDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.HTTPProtocolIPv6 != nil { + in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 + *out = new(string) + **out = **in } - if in.IDSelector != nil { - in, out := &in.IDSelector, &out.IDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.HTTPPutResponseHopLimit != nil { + in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit + *out = new(float64) + **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.HTTPTokens != nil { + in, out := &in.HTTPTokens, &out.HTTPTokens *out = new(string) **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.InstanceMetadataTags != nil { + in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags *out = new(string) **out = **in } - if in.VersionRef != nil { - in, out := &in.VersionRef, &out.VersionRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VersionSelector != nil { - in, out := &in.VersionSelector, &out.VersionSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationInitParameters. -func (in *LaunchTemplateSpecificationInitParameters) DeepCopy() *LaunchTemplateSpecificationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsParameters. +func (in *MetadataOptionsParameters) DeepCopy() *MetadataOptionsParameters { if in == nil { return nil } - out := new(LaunchTemplateSpecificationInitParameters) + out := new(MetadataOptionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateSpecificationObservation) DeepCopyInto(out *LaunchTemplateSpecificationObservation) { +func (in *MonitoringInitParameters) DeepCopyInto(out *MonitoringInitParameters) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationObservation. -func (in *LaunchTemplateSpecificationObservation) DeepCopy() *LaunchTemplateSpecificationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringInitParameters. +func (in *MonitoringInitParameters) DeepCopy() *MonitoringInitParameters { if in == nil { return nil } - out := new(LaunchTemplateSpecificationObservation) + out := new(MonitoringInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateSpecificationParameters) DeepCopyInto(out *LaunchTemplateSpecificationParameters) { +func (in *MonitoringObservation) DeepCopyInto(out *MonitoringObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.IDRef != nil { - in, out := &in.IDRef, &out.IDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.IDSelector != nil { - in, out := &in.IDSelector, &out.IDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringObservation. +func (in *MonitoringObservation) DeepCopy() *MonitoringObservation { + if in == nil { + return nil } - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) + out := new(MonitoringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitoringParameters) DeepCopyInto(out *MonitoringParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) **out = **in } - if in.VersionRef != nil { - in, out := &in.VersionRef, &out.VersionRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VersionSelector != nil { - in, out := &in.VersionSelector, &out.VersionSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateSpecificationParameters. -func (in *LaunchTemplateSpecificationParameters) DeepCopy() *LaunchTemplateSpecificationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringParameters. +func (in *MonitoringParameters) DeepCopy() *MonitoringParameters { if in == nil { return nil } - out := new(LaunchTemplateSpecificationParameters) + out := new(MonitoringParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateStatus) DeepCopyInto(out *LaunchTemplateStatus) { +func (in *NATGateway) DeepCopyInto(out *NATGateway) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateStatus. -func (in *LaunchTemplateStatus) DeepCopy() *LaunchTemplateStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGateway. +func (in *NATGateway) DeepCopy() *NATGateway { if in == nil { return nil } - out := new(LaunchTemplateStatus) + out := new(NATGateway) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NATGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LicenseSpecificationInitParameters) DeepCopyInto(out *LicenseSpecificationInitParameters) { +func (in *NATGatewayInitParameters) DeepCopyInto(out *NATGatewayInitParameters) { *out = *in - if in.LicenseConfigurationArn != nil { - in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationInitParameters. -func (in *LicenseSpecificationInitParameters) DeepCopy() *LicenseSpecificationInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayInitParameters. +func (in *NATGatewayInitParameters) DeepCopy() *NATGatewayInitParameters { if in == nil { return nil } - out := new(LicenseSpecificationInitParameters) + out := new(NATGatewayInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LicenseSpecificationObservation) DeepCopyInto(out *LicenseSpecificationObservation) { +func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters_2) { *out = *in - if in.LicenseConfigurationArn != nil { - in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn + if in.AllocationID != nil { + in, out := &in.AllocationID, &out.AllocationID + *out = new(string) + **out = **in + } + if in.AllocationIDRef != nil { + in, out := &in.AllocationIDRef, &out.AllocationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AllocationIDSelector != nil { + in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConnectivityType != nil { + in, out := &in.ConnectivityType, &out.ConnectivityType + *out = new(string) + **out = **in + } + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) + **out = **in + } + if in.SecondaryAllocationIds != nil { + in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SecondaryPrivateIPAddressCount != nil { + in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount + *out = new(float64) + **out = **in + } + if in.SecondaryPrivateIPAddresses != nil { + in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationObservation. -func (in *LicenseSpecificationObservation) DeepCopy() *LicenseSpecificationObservation { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayInitParameters_2. +func (in *NATGatewayInitParameters_2) DeepCopy() *NATGatewayInitParameters_2 { if in == nil { return nil } - out := new(LicenseSpecificationObservation) + out := new(NATGatewayInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LicenseSpecificationParameters) DeepCopyInto(out *LicenseSpecificationParameters) { +func (in *NATGatewayList) DeepCopyInto(out *NATGatewayList) { *out = *in - if in.LicenseConfigurationArn != nil { - in, out := &in.LicenseConfigurationArn, &out.LicenseConfigurationArn - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NATGateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LicenseSpecificationParameters. -func (in *LicenseSpecificationParameters) DeepCopy() *LicenseSpecificationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayList. +func (in *NATGatewayList) DeepCopy() *NATGatewayList { if in == nil { return nil } - out := new(LicenseSpecificationParameters) + out := new(NATGatewayList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NATGatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupInitParameters) DeepCopyInto(out *LoadBalancerTargetGroupInitParameters) { +func (in *NATGatewayObservation) DeepCopyInto(out *NATGatewayObservation) { *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupInitParameters. -func (in *LoadBalancerTargetGroupInitParameters) DeepCopy() *LoadBalancerTargetGroupInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayObservation. +func (in *NATGatewayObservation) DeepCopy() *NATGatewayObservation { if in == nil { return nil } - out := new(LoadBalancerTargetGroupInitParameters) + out := new(NATGatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupObservation) DeepCopyInto(out *LoadBalancerTargetGroupObservation) { +func (in *NATGatewayObservation_2) DeepCopyInto(out *NATGatewayObservation_2) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.AllocationID != nil { + in, out := &in.AllocationID, &out.AllocationID + *out = new(string) + **out = **in + } + if in.AssociationID != nil { + in, out := &in.AssociationID, &out.AssociationID + *out = new(string) + **out = **in + } + if in.ConnectivityType != nil { + in, out := &in.ConnectivityType, &out.ConnectivityType *out = new(string) **out = **in } @@ -20935,100 +23438,252 @@ func (in *LoadBalancerTargetGroupObservation) DeepCopyInto(out *LoadBalancerTarg *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) + **out = **in + } + if in.PublicIP != nil { + in, out := &in.PublicIP, &out.PublicIP + *out = new(string) + **out = **in + } + if in.SecondaryAllocationIds != nil { + in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SecondaryPrivateIPAddressCount != nil { + in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount + *out = new(float64) + **out = **in + } + if in.SecondaryPrivateIPAddresses != nil { + in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupObservation. -func (in *LoadBalancerTargetGroupObservation) DeepCopy() *LoadBalancerTargetGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayObservation_2. +func (in *NATGatewayObservation_2) DeepCopy() *NATGatewayObservation_2 { if in == nil { return nil } - out := new(LoadBalancerTargetGroupObservation) + out := new(NATGatewayObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupParameters) DeepCopyInto(out *LoadBalancerTargetGroupParameters) { +func (in *NATGatewayParameters) DeepCopyInto(out *NATGatewayParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupParameters. -func (in *LoadBalancerTargetGroupParameters) DeepCopy() *LoadBalancerTargetGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayParameters. +func (in *NATGatewayParameters) DeepCopy() *NATGatewayParameters { if in == nil { return nil } - out := new(LoadBalancerTargetGroupParameters) + out := new(NATGatewayParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupsInitParameters) DeepCopyInto(out *LoadBalancerTargetGroupsInitParameters) { +func (in *NATGatewayParameters_2) DeepCopyInto(out *NATGatewayParameters_2) { *out = *in + if in.AllocationID != nil { + in, out := &in.AllocationID, &out.AllocationID + *out = new(string) + **out = **in + } + if in.AllocationIDRef != nil { + in, out := &in.AllocationIDRef, &out.AllocationIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.AllocationIDSelector != nil { + in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ConnectivityType != nil { + in, out := &in.ConnectivityType, &out.ConnectivityType + *out = new(string) + **out = **in + } + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.SecondaryAllocationIds != nil { + in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SecondaryPrivateIPAddressCount != nil { + in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount + *out = new(float64) + **out = **in + } + if in.SecondaryPrivateIPAddresses != nil { + in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsInitParameters. -func (in *LoadBalancerTargetGroupsInitParameters) DeepCopy() *LoadBalancerTargetGroupsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayParameters_2. +func (in *NATGatewayParameters_2) DeepCopy() *NATGatewayParameters_2 { if in == nil { return nil } - out := new(LoadBalancerTargetGroupsInitParameters) + out := new(NATGatewayParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupsObservation) DeepCopyInto(out *LoadBalancerTargetGroupsObservation) { +func (in *NATGatewaySpec) DeepCopyInto(out *NATGatewaySpec) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsObservation. -func (in *LoadBalancerTargetGroupsObservation) DeepCopy() *LoadBalancerTargetGroupsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewaySpec. +func (in *NATGatewaySpec) DeepCopy() *NATGatewaySpec { if in == nil { return nil } - out := new(LoadBalancerTargetGroupsObservation) + out := new(NATGatewaySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerTargetGroupsParameters) DeepCopyInto(out *LoadBalancerTargetGroupsParameters) { +func (in *NATGatewayStatus) DeepCopyInto(out *NATGatewayStatus) { *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerTargetGroupsParameters. -func (in *LoadBalancerTargetGroupsParameters) DeepCopy() *LoadBalancerTargetGroupsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayStatus. +func (in *NATGatewayStatus) DeepCopy() *NATGatewayStatus { if in == nil { return nil } - out := new(LoadBalancerTargetGroupsParameters) + out := new(NATGatewayStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociation) DeepCopyInto(out *MainRouteTableAssociation) { +func (in *NetworkACL) DeepCopyInto(out *NetworkACL) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -21036,18 +23691,18 @@ func (in *MainRouteTableAssociation) DeepCopyInto(out *MainRouteTableAssociation in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociation. -func (in *MainRouteTableAssociation) DeepCopy() *MainRouteTableAssociation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. +func (in *NetworkACL) DeepCopy() *NetworkACL { if in == nil { return nil } - out := new(MainRouteTableAssociation) + out := new(NetworkACL) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MainRouteTableAssociation) DeepCopyObject() runtime.Object { +func (in *NetworkACL) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -21055,283 +23710,280 @@ func (in *MainRouteTableAssociation) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationInitParameters) DeepCopyInto(out *MainRouteTableAssociationInitParameters) { - *out = *in - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID - *out = new(string) - **out = **in - } - if in.RouteTableIDRef != nil { - in, out := &in.RouteTableIDRef, &out.RouteTableIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.RouteTableIDSelector != nil { - in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationInitParameters. -func (in *MainRouteTableAssociationInitParameters) DeepCopy() *MainRouteTableAssociationInitParameters { - if in == nil { - return nil - } - out := new(MainRouteTableAssociationInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationList) DeepCopyInto(out *MainRouteTableAssociationList) { +func (in *NetworkACLEgressInitParameters) DeepCopyInto(out *NetworkACLEgressInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]MainRouteTableAssociation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationList. -func (in *MainRouteTableAssociationList) DeepCopy() *MainRouteTableAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressInitParameters. +func (in *NetworkACLEgressInitParameters) DeepCopy() *NetworkACLEgressInitParameters { if in == nil { return nil } - out := new(MainRouteTableAssociationList) + out := new(NetworkACLEgressInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MainRouteTableAssociationList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationObservation) DeepCopyInto(out *MainRouteTableAssociationObservation) { +func (in *NetworkACLEgressObservation) DeepCopyInto(out *NetworkACLEgressObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Action != nil { + in, out := &in.Action, &out.Action *out = new(string) **out = **in } - if in.OriginalRouteTableID != nil { - in, out := &in.OriginalRouteTableID, &out.OriginalRouteTableID + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID - *out = new(string) + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) **out = **in } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationObservation. -func (in *MainRouteTableAssociationObservation) DeepCopy() *MainRouteTableAssociationObservation { - if in == nil { - return nil - } - out := new(MainRouteTableAssociationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationParameters) DeepCopyInto(out *MainRouteTableAssociationParameters) { - *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) **out = **in } - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID - *out = new(string) + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) **out = **in } - if in.RouteTableIDRef != nil { - in, out := &in.RouteTableIDRef, &out.RouteTableIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.RouteTableIDSelector != nil { - in, out := &in.RouteTableIDSelector, &out.RouteTableIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.RuleNo != nil { + in, out := &in.RuleNo, &out.RuleNo + *out = new(float64) + **out = **in } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationParameters. -func (in *MainRouteTableAssociationParameters) DeepCopy() *MainRouteTableAssociationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressObservation. +func (in *NetworkACLEgressObservation) DeepCopy() *NetworkACLEgressObservation { if in == nil { return nil } - out := new(MainRouteTableAssociationParameters) + out := new(NetworkACLEgressObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationSpec) DeepCopyInto(out *MainRouteTableAssociationSpec) { +func (in *NetworkACLEgressParameters) DeepCopyInto(out *NetworkACLEgressParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationSpec. -func (in *MainRouteTableAssociationSpec) DeepCopy() *MainRouteTableAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressParameters. +func (in *NetworkACLEgressParameters) DeepCopy() *NetworkACLEgressParameters { if in == nil { return nil } - out := new(MainRouteTableAssociationSpec) + out := new(NetworkACLEgressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MainRouteTableAssociationStatus) DeepCopyInto(out *MainRouteTableAssociationStatus) { +func (in *NetworkACLIngressInitParameters) DeepCopyInto(out *NetworkACLIngressInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MainRouteTableAssociationStatus. -func (in *MainRouteTableAssociationStatus) DeepCopy() *MainRouteTableAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressInitParameters. +func (in *NetworkACLIngressInitParameters) DeepCopy() *NetworkACLIngressInitParameters { if in == nil { return nil } - out := new(MainRouteTableAssociationStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MaintenanceOptionsInitParameters) DeepCopyInto(out *MaintenanceOptionsInitParameters) { - *out = *in - if in.AutoRecovery != nil { - in, out := &in.AutoRecovery, &out.AutoRecovery + out := new(NetworkACLIngressInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkACLIngressObservation) DeepCopyInto(out *NetworkACLIngressObservation) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock + *out = new(string) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + *out = new(string) + **out = **in + } + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) + **out = **in + } + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } + if in.RuleNo != nil { + in, out := &in.RuleNo, &out.RuleNo + *out = new(float64) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsInitParameters. -func (in *MaintenanceOptionsInitParameters) DeepCopy() *MaintenanceOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressObservation. +func (in *NetworkACLIngressObservation) DeepCopy() *NetworkACLIngressObservation { if in == nil { return nil } - out := new(MaintenanceOptionsInitParameters) + out := new(NetworkACLIngressObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MaintenanceOptionsObservation) DeepCopyInto(out *MaintenanceOptionsObservation) { +func (in *NetworkACLIngressParameters) DeepCopyInto(out *NetworkACLIngressParameters) { *out = *in - if in.AutoRecovery != nil { - in, out := &in.AutoRecovery, &out.AutoRecovery - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsObservation. -func (in *MaintenanceOptionsObservation) DeepCopy() *MaintenanceOptionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressParameters. +func (in *NetworkACLIngressParameters) DeepCopy() *NetworkACLIngressParameters { if in == nil { return nil } - out := new(MaintenanceOptionsObservation) + out := new(NetworkACLIngressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MaintenanceOptionsParameters) DeepCopyInto(out *MaintenanceOptionsParameters) { +func (in *NetworkACLInitParameters) DeepCopyInto(out *NetworkACLInitParameters) { *out = *in - if in.AutoRecovery != nil { - in, out := &in.AutoRecovery, &out.AutoRecovery + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceOptionsParameters. -func (in *MaintenanceOptionsParameters) DeepCopy() *MaintenanceOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLInitParameters. +func (in *NetworkACLInitParameters) DeepCopy() *NetworkACLInitParameters { if in == nil { return nil } - out := new(MaintenanceOptionsParameters) + out := new(NetworkACLInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixList) DeepCopyInto(out *ManagedPrefixList) { +func (in *NetworkACLList) DeepCopyInto(out *NetworkACLList) { *out = *in out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkACL, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixList. -func (in *ManagedPrefixList) DeepCopy() *ManagedPrefixList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLList. +func (in *NetworkACLList) DeepCopy() *NetworkACLList { if in == nil { return nil } - out := new(ManagedPrefixList) + out := new(NetworkACLList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ManagedPrefixList) DeepCopyObject() runtime.Object { +func (in *NetworkACLList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -21339,108 +23991,192 @@ func (in *ManagedPrefixList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntry) DeepCopyInto(out *ManagedPrefixListEntry) { +func (in *NetworkACLObservation) DeepCopyInto(out *NetworkACLObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = make([]NetworkACLEgressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Ingress != nil { + in, out := &in.Ingress, &out.Ingress + *out = make([]NetworkACLIngressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID + *out = new(string) + **out = **in + } + if in.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntry. -func (in *ManagedPrefixListEntry) DeepCopy() *ManagedPrefixListEntry { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLObservation. +func (in *NetworkACLObservation) DeepCopy() *NetworkACLObservation { if in == nil { return nil } - out := new(ManagedPrefixListEntry) + out := new(NetworkACLObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ManagedPrefixListEntry) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntryInitParameters) DeepCopyInto(out *ManagedPrefixListEntryInitParameters) { +func (in *NetworkACLParameters) DeepCopyInto(out *NetworkACLParameters) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.CidrRef != nil { - in, out := &in.CidrRef, &out.CidrRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.SubnetIDRefs != nil { + in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.CidrSelector != nil { - in, out := &in.CidrSelector, &out.CidrSelector + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.SubnetIds != nil { + in, out := &in.SubnetIds, &out.SubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPCID != nil { + in, out := &in.VPCID, &out.VPCID *out = new(string) **out = **in } - if in.PrefixListIDRef != nil { - in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + if in.VPCIDRef != nil { + in, out := &in.VPCIDRef, &out.VPCIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.PrefixListIDSelector != nil { - in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + if in.VPCIDSelector != nil { + in, out := &in.VPCIDSelector, &out.VPCIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryInitParameters. -func (in *ManagedPrefixListEntryInitParameters) DeepCopy() *ManagedPrefixListEntryInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLParameters. +func (in *NetworkACLParameters) DeepCopy() *NetworkACLParameters { if in == nil { return nil } - out := new(ManagedPrefixListEntryInitParameters) + out := new(NetworkACLParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntryList) DeepCopyInto(out *ManagedPrefixListEntryList) { +func (in *NetworkACLRule) DeepCopyInto(out *NetworkACLRule) { *out = *in out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]ManagedPrefixListEntry, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryList. -func (in *ManagedPrefixListEntryList) DeepCopy() *ManagedPrefixListEntryList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRule. +func (in *NetworkACLRule) DeepCopy() *NetworkACLRule { if in == nil { return nil } - out := new(ManagedPrefixListEntryList) + out := new(NetworkACLRule) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ManagedPrefixListEntryList) DeepCopyObject() runtime.Object { +func (in *NetworkACLRule) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -21448,209 +24184,111 @@ func (in *ManagedPrefixListEntryList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntryObservation) DeepCopyInto(out *ManagedPrefixListEntryObservation) { +func (in *NetworkACLRuleInitParameters) DeepCopyInto(out *NetworkACLRuleInitParameters) { *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = new(bool) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) **out = **in } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryObservation. -func (in *ManagedPrefixListEntryObservation) DeepCopy() *ManagedPrefixListEntryObservation { - if in == nil { - return nil - } - out := new(ManagedPrefixListEntryObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntryParameters) DeepCopyInto(out *ManagedPrefixListEntryParameters) { - *out = *in - if in.Cidr != nil { - in, out := &in.Cidr, &out.Cidr - *out = new(string) + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) **out = **in } - if in.CidrRef != nil { - in, out := &in.CidrRef, &out.CidrRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.CidrSelector != nil { - in, out := &in.CidrSelector, &out.CidrSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) **out = **in } - if in.PrefixListID != nil { - in, out := &in.PrefixListID, &out.PrefixListID + if in.NetworkACLID != nil { + in, out := &in.NetworkACLID, &out.NetworkACLID *out = new(string) **out = **in } - if in.PrefixListIDRef != nil { - in, out := &in.PrefixListIDRef, &out.PrefixListIDRef + if in.NetworkACLIDRef != nil { + in, out := &in.NetworkACLIDRef, &out.NetworkACLIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.PrefixListIDSelector != nil { - in, out := &in.PrefixListIDSelector, &out.PrefixListIDSelector + if in.NetworkACLIDSelector != nil { + in, out := &in.NetworkACLIDSelector, &out.NetworkACLIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryParameters. -func (in *ManagedPrefixListEntryParameters) DeepCopy() *ManagedPrefixListEntryParameters { - if in == nil { - return nil - } - out := new(ManagedPrefixListEntryParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntrySpec) DeepCopyInto(out *ManagedPrefixListEntrySpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntrySpec. -func (in *ManagedPrefixListEntrySpec) DeepCopy() *ManagedPrefixListEntrySpec { - if in == nil { - return nil - } - out := new(ManagedPrefixListEntrySpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListEntryStatus) DeepCopyInto(out *ManagedPrefixListEntryStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListEntryStatus. -func (in *ManagedPrefixListEntryStatus) DeepCopy() *ManagedPrefixListEntryStatus { - if in == nil { - return nil - } - out := new(ManagedPrefixListEntryStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListInitParameters) DeepCopyInto(out *ManagedPrefixListInitParameters) { - *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily + if in.RuleAction != nil { + in, out := &in.RuleAction, &out.RuleAction *out = new(string) **out = **in } - if in.Entry != nil { - in, out := &in.Entry, &out.Entry - *out = make([]EntryInitParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.MaxEntries != nil { - in, out := &in.MaxEntries, &out.MaxEntries + if in.RuleNumber != nil { + in, out := &in.RuleNumber, &out.RuleNumber *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListInitParameters. -func (in *ManagedPrefixListInitParameters) DeepCopy() *ManagedPrefixListInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleInitParameters. +func (in *NetworkACLRuleInitParameters) DeepCopy() *NetworkACLRuleInitParameters { if in == nil { return nil } - out := new(ManagedPrefixListInitParameters) + out := new(NetworkACLRuleInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListList) DeepCopyInto(out *ManagedPrefixListList) { +func (in *NetworkACLRuleList) DeepCopyInto(out *NetworkACLRuleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]ManagedPrefixList, len(*in)) + *out = make([]NetworkACLRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListList. -func (in *ManagedPrefixListList) DeepCopy() *ManagedPrefixListList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleList. +func (in *NetworkACLRuleList) DeepCopy() *NetworkACLRuleList { if in == nil { return nil } - out := new(ManagedPrefixListList) + out := new(NetworkACLRuleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ManagedPrefixListList) DeepCopyObject() runtime.Object { +func (in *NetworkACLRuleList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -21658,116 +24296,130 @@ func (in *ManagedPrefixListList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListObservation) DeepCopyInto(out *ManagedPrefixListObservation) { +func (in *NetworkACLRuleObservation) DeepCopyInto(out *NetworkACLRuleObservation) { *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock + *out = new(string) + **out = **in + } + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = new(bool) + **out = **in + } + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock *out = new(string) **out = **in } - if in.Entry != nil { - in, out := &in.Entry, &out.Entry - *out = make([]EntryObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) **out = **in } - if in.MaxEntries != nil { - in, out := &in.MaxEntries, &out.MaxEntries + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.NetworkACLID != nil { + in, out := &in.NetworkACLID, &out.NetworkACLID *out = new(string) **out = **in } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.RuleAction != nil { + in, out := &in.RuleAction, &out.RuleAction + *out = new(string) + **out = **in } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.RuleNumber != nil { + in, out := &in.RuleNumber, &out.RuleNumber + *out = new(float64) + **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListObservation. -func (in *ManagedPrefixListObservation) DeepCopy() *ManagedPrefixListObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleObservation. +func (in *NetworkACLRuleObservation) DeepCopy() *NetworkACLRuleObservation { if in == nil { return nil } - out := new(ManagedPrefixListObservation) + out := new(NetworkACLRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListParameters) DeepCopyInto(out *ManagedPrefixListParameters) { +func (in *NetworkACLRuleParameters) DeepCopyInto(out *NetworkACLRuleParameters) { *out = *in - if in.AddressFamily != nil { - in, out := &in.AddressFamily, &out.AddressFamily + if in.CidrBlock != nil { + in, out := &in.CidrBlock, &out.CidrBlock *out = new(string) **out = **in } - if in.Entry != nil { - in, out := &in.Entry, &out.Entry - *out = make([]EntryParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Egress != nil { + in, out := &in.Egress, &out.Egress + *out = new(bool) + **out = **in } - if in.MaxEntries != nil { - in, out := &in.MaxEntries, &out.MaxEntries + if in.FromPort != nil { + in, out := &in.FromPort, &out.FromPort *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.IPv6CidrBlock != nil { + in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + *out = new(string) + **out = **in + } + if in.IcmpCode != nil { + in, out := &in.IcmpCode, &out.IcmpCode + *out = new(float64) + **out = **in + } + if in.IcmpType != nil { + in, out := &in.IcmpType, &out.IcmpType + *out = new(float64) + **out = **in + } + if in.NetworkACLID != nil { + in, out := &in.NetworkACLID, &out.NetworkACLID + *out = new(string) + **out = **in + } + if in.NetworkACLIDRef != nil { + in, out := &in.NetworkACLIDRef, &out.NetworkACLIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkACLIDSelector != nil { + in, out := &in.NetworkACLIDSelector, &out.NetworkACLIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } @@ -21776,121 +24428,105 @@ func (in *ManagedPrefixListParameters) DeepCopyInto(out *ManagedPrefixListParame *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.RuleAction != nil { + in, out := &in.RuleAction, &out.RuleAction + *out = new(string) + **out = **in + } + if in.RuleNumber != nil { + in, out := &in.RuleNumber, &out.RuleNumber + *out = new(float64) + **out = **in + } + if in.ToPort != nil { + in, out := &in.ToPort, &out.ToPort + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListParameters. -func (in *ManagedPrefixListParameters) DeepCopy() *ManagedPrefixListParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleParameters. +func (in *NetworkACLRuleParameters) DeepCopy() *NetworkACLRuleParameters { if in == nil { return nil } - out := new(ManagedPrefixListParameters) + out := new(NetworkACLRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListSpec) DeepCopyInto(out *ManagedPrefixListSpec) { +func (in *NetworkACLRuleSpec) DeepCopyInto(out *NetworkACLRuleSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListSpec. -func (in *ManagedPrefixListSpec) DeepCopy() *ManagedPrefixListSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleSpec. +func (in *NetworkACLRuleSpec) DeepCopy() *NetworkACLRuleSpec { if in == nil { return nil } - out := new(ManagedPrefixListSpec) + out := new(NetworkACLRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ManagedPrefixListStatus) DeepCopyInto(out *ManagedPrefixListStatus) { +func (in *NetworkACLRuleStatus) DeepCopyInto(out *NetworkACLRuleStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrefixListStatus. -func (in *ManagedPrefixListStatus) DeepCopy() *ManagedPrefixListStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleStatus. +func (in *NetworkACLRuleStatus) DeepCopy() *NetworkACLRuleStatus { if in == nil { return nil } - out := new(ManagedPrefixListStatus) + out := new(NetworkACLRuleStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryGibPerVcpuInitParameters) DeepCopyInto(out *MemoryGibPerVcpuInitParameters) { +func (in *NetworkACLSpec) DeepCopyInto(out *NetworkACLSpec) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) - **out = **in - } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuInitParameters. -func (in *MemoryGibPerVcpuInitParameters) DeepCopy() *MemoryGibPerVcpuInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLSpec. +func (in *NetworkACLSpec) DeepCopy() *NetworkACLSpec { if in == nil { return nil } - out := new(MemoryGibPerVcpuInitParameters) + out := new(NetworkACLSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryGibPerVcpuObservation) DeepCopyInto(out *MemoryGibPerVcpuObservation) { +func (in *NetworkACLStatus) DeepCopyInto(out *NetworkACLStatus) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) - **out = **in - } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuObservation. -func (in *MemoryGibPerVcpuObservation) DeepCopy() *MemoryGibPerVcpuObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLStatus. +func (in *NetworkACLStatus) DeepCopy() *NetworkACLStatus { if in == nil { return nil } - out := new(MemoryGibPerVcpuObservation) + out := new(NetworkACLStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryGibPerVcpuParameters) DeepCopyInto(out *MemoryGibPerVcpuParameters) { +func (in *NetworkBandwidthGbpsInitParameters) DeepCopyInto(out *NetworkBandwidthGbpsInitParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -21904,18 +24540,18 @@ func (in *MemoryGibPerVcpuParameters) DeepCopyInto(out *MemoryGibPerVcpuParamete } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryGibPerVcpuParameters. -func (in *MemoryGibPerVcpuParameters) DeepCopy() *MemoryGibPerVcpuParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsInitParameters. +func (in *NetworkBandwidthGbpsInitParameters) DeepCopy() *NetworkBandwidthGbpsInitParameters { if in == nil { return nil } - out := new(MemoryGibPerVcpuParameters) + out := new(NetworkBandwidthGbpsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryMibInitParameters) DeepCopyInto(out *MemoryMibInitParameters) { +func (in *NetworkBandwidthGbpsObservation) DeepCopyInto(out *NetworkBandwidthGbpsObservation) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -21929,18 +24565,18 @@ func (in *MemoryMibInitParameters) DeepCopyInto(out *MemoryMibInitParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibInitParameters. -func (in *MemoryMibInitParameters) DeepCopy() *MemoryMibInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsObservation. +func (in *NetworkBandwidthGbpsObservation) DeepCopy() *NetworkBandwidthGbpsObservation { if in == nil { return nil } - out := new(MemoryMibInitParameters) + out := new(NetworkBandwidthGbpsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryMibObservation) DeepCopyInto(out *MemoryMibObservation) { +func (in *NetworkBandwidthGbpsParameters) DeepCopyInto(out *NetworkBandwidthGbpsParameters) { *out = *in if in.Max != nil { in, out := &in.Max, &out.Max @@ -21954,223 +24590,372 @@ func (in *MemoryMibObservation) DeepCopyInto(out *MemoryMibObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibObservation. -func (in *MemoryMibObservation) DeepCopy() *MemoryMibObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsParameters. +func (in *NetworkBandwidthGbpsParameters) DeepCopy() *NetworkBandwidthGbpsParameters { + if in == nil { + return nil + } + out := new(NetworkBandwidthGbpsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInsightsAnalysis) DeepCopyInto(out *NetworkInsightsAnalysis) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysis. +func (in *NetworkInsightsAnalysis) DeepCopy() *NetworkInsightsAnalysis { if in == nil { return nil } - out := new(MemoryMibObservation) + out := new(NetworkInsightsAnalysis) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInsightsAnalysis) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MemoryMibParameters) DeepCopyInto(out *MemoryMibParameters) { +func (in *NetworkInsightsAnalysisInitParameters) DeepCopyInto(out *NetworkInsightsAnalysisInitParameters) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.FilterInArns != nil { + in, out := &in.FilterInArns, &out.FilterInArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NetworkInsightsPathID != nil { + in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.NetworkInsightsPathIDRef != nil { + in, out := &in.NetworkInsightsPathIDRef, &out.NetworkInsightsPathIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInsightsPathIDSelector != nil { + in, out := &in.NetworkInsightsPathIDSelector, &out.NetworkInsightsPathIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WaitForCompletion != nil { + in, out := &in.WaitForCompletion, &out.WaitForCompletion + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMibParameters. -func (in *MemoryMibParameters) DeepCopy() *MemoryMibParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisInitParameters. +func (in *NetworkInsightsAnalysisInitParameters) DeepCopy() *NetworkInsightsAnalysisInitParameters { if in == nil { return nil } - out := new(MemoryMibParameters) + out := new(NetworkInsightsAnalysisInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataOptionsInitParameters) DeepCopyInto(out *MetadataOptionsInitParameters) { +func (in *NetworkInsightsAnalysisList) DeepCopyInto(out *NetworkInsightsAnalysisList) { *out = *in - if in.HTTPEndpoint != nil { - in, out := &in.HTTPEndpoint, &out.HTTPEndpoint - *out = new(string) - **out = **in - } - if in.HTTPProtocolIPv6 != nil { - in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 - *out = new(string) - **out = **in - } - if in.HTTPPutResponseHopLimit != nil { - in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit - *out = new(float64) - **out = **in - } - if in.HTTPTokens != nil { - in, out := &in.HTTPTokens, &out.HTTPTokens - *out = new(string) - **out = **in - } - if in.InstanceMetadataTags != nil { - in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkInsightsAnalysis, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsInitParameters. -func (in *MetadataOptionsInitParameters) DeepCopy() *MetadataOptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisList. +func (in *NetworkInsightsAnalysisList) DeepCopy() *NetworkInsightsAnalysisList { if in == nil { return nil } - out := new(MetadataOptionsInitParameters) + out := new(NetworkInsightsAnalysisList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInsightsAnalysisList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataOptionsObservation) DeepCopyInto(out *MetadataOptionsObservation) { +func (in *NetworkInsightsAnalysisObservation) DeepCopyInto(out *NetworkInsightsAnalysisObservation) { *out = *in - if in.HTTPEndpoint != nil { - in, out := &in.HTTPEndpoint, &out.HTTPEndpoint - *out = new(string) - **out = **in + if in.AlternatePathHints != nil { + in, out := &in.AlternatePathHints, &out.AlternatePathHints + *out = make([]AlternatePathHintsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.HTTPProtocolIPv6 != nil { - in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.HTTPPutResponseHopLimit != nil { - in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit - *out = new(float64) - **out = **in + if in.Explanations != nil { + in, out := &in.Explanations, &out.Explanations + *out = make([]ExplanationsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.HTTPTokens != nil { - in, out := &in.HTTPTokens, &out.HTTPTokens + if in.FilterInArns != nil { + in, out := &in.FilterInArns, &out.FilterInArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ForwardPathComponents != nil { + in, out := &in.ForwardPathComponents, &out.ForwardPathComponents + *out = make([]ForwardPathComponentsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.InstanceMetadataTags != nil { - in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags + if in.NetworkInsightsPathID != nil { + in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsObservation. -func (in *MetadataOptionsObservation) DeepCopy() *MetadataOptionsObservation { - if in == nil { - return nil + if in.PathFound != nil { + in, out := &in.PathFound, &out.PathFound + *out = new(bool) + **out = **in } - out := new(MetadataOptionsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetadataOptionsParameters) DeepCopyInto(out *MetadataOptionsParameters) { - *out = *in - if in.HTTPEndpoint != nil { - in, out := &in.HTTPEndpoint, &out.HTTPEndpoint + if in.ReturnPathComponents != nil { + in, out := &in.ReturnPathComponents, &out.ReturnPathComponents + *out = make([]ReturnPathComponentsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StartDate != nil { + in, out := &in.StartDate, &out.StartDate *out = new(string) **out = **in } - if in.HTTPProtocolIPv6 != nil { - in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 + if in.Status != nil { + in, out := &in.Status, &out.Status *out = new(string) **out = **in } - if in.HTTPPutResponseHopLimit != nil { - in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit - *out = new(float64) + if in.StatusMessage != nil { + in, out := &in.StatusMessage, &out.StatusMessage + *out = new(string) **out = **in } - if in.HTTPTokens != nil { - in, out := &in.HTTPTokens, &out.HTTPTokens - *out = new(string) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WaitForCompletion != nil { + in, out := &in.WaitForCompletion, &out.WaitForCompletion + *out = new(bool) **out = **in } - if in.InstanceMetadataTags != nil { - in, out := &in.InstanceMetadataTags, &out.InstanceMetadataTags + if in.WarningMessage != nil { + in, out := &in.WarningMessage, &out.WarningMessage *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptionsParameters. -func (in *MetadataOptionsParameters) DeepCopy() *MetadataOptionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisObservation. +func (in *NetworkInsightsAnalysisObservation) DeepCopy() *NetworkInsightsAnalysisObservation { if in == nil { return nil } - out := new(MetadataOptionsParameters) + out := new(NetworkInsightsAnalysisObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MonitoringInitParameters) DeepCopyInto(out *MonitoringInitParameters) { +func (in *NetworkInsightsAnalysisParameters) DeepCopyInto(out *NetworkInsightsAnalysisParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled + if in.FilterInArns != nil { + in, out := &in.FilterInArns, &out.FilterInArns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NetworkInsightsPathID != nil { + in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + *out = new(string) + **out = **in + } + if in.NetworkInsightsPathIDRef != nil { + in, out := &in.NetworkInsightsPathIDRef, &out.NetworkInsightsPathIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInsightsPathIDSelector != nil { + in, out := &in.NetworkInsightsPathIDSelector, &out.NetworkInsightsPathIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WaitForCompletion != nil { + in, out := &in.WaitForCompletion, &out.WaitForCompletion *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringInitParameters. -func (in *MonitoringInitParameters) DeepCopy() *MonitoringInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisParameters. +func (in *NetworkInsightsAnalysisParameters) DeepCopy() *NetworkInsightsAnalysisParameters { if in == nil { return nil } - out := new(MonitoringInitParameters) + out := new(NetworkInsightsAnalysisParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MonitoringObservation) DeepCopyInto(out *MonitoringObservation) { +func (in *NetworkInsightsAnalysisSpec) DeepCopyInto(out *NetworkInsightsAnalysisSpec) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringObservation. -func (in *MonitoringObservation) DeepCopy() *MonitoringObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisSpec. +func (in *NetworkInsightsAnalysisSpec) DeepCopy() *NetworkInsightsAnalysisSpec { if in == nil { return nil } - out := new(MonitoringObservation) + out := new(NetworkInsightsAnalysisSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MonitoringParameters) DeepCopyInto(out *MonitoringParameters) { +func (in *NetworkInsightsAnalysisStatus) DeepCopyInto(out *NetworkInsightsAnalysisStatus) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringParameters. -func (in *MonitoringParameters) DeepCopy() *MonitoringParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisStatus. +func (in *NetworkInsightsAnalysisStatus) DeepCopy() *NetworkInsightsAnalysisStatus { if in == nil { return nil } - out := new(MonitoringParameters) + out := new(NetworkInsightsAnalysisStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGateway) DeepCopyInto(out *NATGateway) { +func (in *NetworkInsightsPath) DeepCopyInto(out *NetworkInsightsPath) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -22178,18 +24963,18 @@ func (in *NATGateway) DeepCopyInto(out *NATGateway) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGateway. -func (in *NATGateway) DeepCopy() *NATGateway { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPath. +func (in *NetworkInsightsPath) DeepCopy() *NetworkInsightsPath { if in == nil { return nil } - out := new(NATGateway) + out := new(NetworkInsightsPath) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NATGateway) DeepCopyObject() runtime.Object { +func (in *NetworkInsightsPath) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -22197,87 +24982,55 @@ func (in *NATGateway) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayInitParameters) DeepCopyInto(out *NATGatewayInitParameters) { +func (in *NetworkInsightsPathInitParameters) DeepCopyInto(out *NetworkInsightsPathInitParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayInitParameters. -func (in *NATGatewayInitParameters) DeepCopy() *NATGatewayInitParameters { - if in == nil { - return nil + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in } - out := new(NATGatewayInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters_2) { - *out = *in - if in.AllocationID != nil { - in, out := &in.AllocationID, &out.AllocationID + if in.DestinationIP != nil { + in, out := &in.DestinationIP, &out.DestinationIP *out = new(string) **out = **in } - if in.AllocationIDRef != nil { - in, out := &in.AllocationIDRef, &out.AllocationIDRef + if in.DestinationPort != nil { + in, out := &in.DestinationPort, &out.DestinationPort + *out = new(float64) + **out = **in + } + if in.DestinationRef != nil { + in, out := &in.DestinationRef, &out.DestinationRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.AllocationIDSelector != nil { - in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + if in.DestinationSelector != nil { + in, out := &in.DestinationSelector, &out.DestinationSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.ConnectivityType != nil { - in, out := &in.ConnectivityType, &out.ConnectivityType + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.Source != nil { + in, out := &in.Source, &out.Source *out = new(string) **out = **in } - if in.SecondaryAllocationIds != nil { - in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SecondaryPrivateIPAddressCount != nil { - in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount - *out = new(float64) - **out = **in - } - if in.SecondaryPrivateIPAddresses != nil { - in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.SourceIP != nil { + in, out := &in.SourceIP, &out.SourceIP *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef + if in.SourceRef != nil { + in, out := &in.SourceRef, &out.SourceRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + if in.SourceSelector != nil { + in, out := &in.SourceSelector, &out.SourceSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } @@ -22299,42 +25052,42 @@ func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayInitParameters_2. -func (in *NATGatewayInitParameters_2) DeepCopy() *NATGatewayInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathInitParameters. +func (in *NetworkInsightsPathInitParameters) DeepCopy() *NetworkInsightsPathInitParameters { if in == nil { return nil } - out := new(NATGatewayInitParameters_2) + out := new(NetworkInsightsPathInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayList) DeepCopyInto(out *NATGatewayList) { +func (in *NetworkInsightsPathList) DeepCopyInto(out *NetworkInsightsPathList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]NATGateway, len(*in)) + *out = make([]NetworkInsightsPath, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayList. -func (in *NATGatewayList) DeepCopy() *NATGatewayList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathList. +func (in *NetworkInsightsPathList) DeepCopy() *NetworkInsightsPathList { if in == nil { return nil } - out := new(NATGatewayList) + out := new(NetworkInsightsPathList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NATGatewayList) DeepCopyObject() runtime.Object { +func (in *NetworkInsightsPathList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -22342,102 +25095,55 @@ func (in *NATGatewayList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayObservation) DeepCopyInto(out *NATGatewayObservation) { +func (in *NetworkInsightsPathObservation) DeepCopyInto(out *NetworkInsightsPathObservation) { *out = *in if in.Arn != nil { in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Destination != nil { + in, out := &in.Destination, &out.Destination *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayObservation. -func (in *NATGatewayObservation) DeepCopy() *NATGatewayObservation { - if in == nil { - return nil - } - out := new(NATGatewayObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayObservation_2) DeepCopyInto(out *NATGatewayObservation_2) { - *out = *in - if in.AllocationID != nil { - in, out := &in.AllocationID, &out.AllocationID + if in.DestinationArn != nil { + in, out := &in.DestinationArn, &out.DestinationArn *out = new(string) **out = **in } - if in.AssociationID != nil { - in, out := &in.AssociationID, &out.AssociationID + if in.DestinationIP != nil { + in, out := &in.DestinationIP, &out.DestinationIP *out = new(string) **out = **in } - if in.ConnectivityType != nil { - in, out := &in.ConnectivityType, &out.ConnectivityType - *out = new(string) + if in.DestinationPort != nil { + in, out := &in.DestinationPort, &out.DestinationPort + *out = new(float64) **out = **in } if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.PublicIP != nil { - in, out := &in.PublicIP, &out.PublicIP + if in.Source != nil { + in, out := &in.Source, &out.Source *out = new(string) **out = **in } - if in.SecondaryAllocationIds != nil { - in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SecondaryPrivateIPAddressCount != nil { - in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount - *out = new(float64) + if in.SourceArn != nil { + in, out := &in.SourceArn, &out.SourceArn + *out = new(string) **out = **in } - if in.SecondaryPrivateIPAddresses != nil { - in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.SourceIP != nil { + in, out := &in.SourceIP, &out.SourceIP *out = new(string) **out = **in } @@ -22475,56 +25181,46 @@ func (in *NATGatewayObservation_2) DeepCopyInto(out *NATGatewayObservation_2) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayObservation_2. -func (in *NATGatewayObservation_2) DeepCopy() *NATGatewayObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathObservation. +func (in *NetworkInsightsPathObservation) DeepCopy() *NetworkInsightsPathObservation { if in == nil { return nil } - out := new(NATGatewayObservation_2) + out := new(NetworkInsightsPathObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayParameters) DeepCopyInto(out *NATGatewayParameters) { +func (in *NetworkInsightsPathParameters) DeepCopyInto(out *NetworkInsightsPathParameters) { *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayParameters. -func (in *NATGatewayParameters) DeepCopy() *NATGatewayParameters { - if in == nil { - return nil + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in } - out := new(NATGatewayParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayParameters_2) DeepCopyInto(out *NATGatewayParameters_2) { - *out = *in - if in.AllocationID != nil { - in, out := &in.AllocationID, &out.AllocationID + if in.DestinationIP != nil { + in, out := &in.DestinationIP, &out.DestinationIP *out = new(string) **out = **in } - if in.AllocationIDRef != nil { - in, out := &in.AllocationIDRef, &out.AllocationIDRef + if in.DestinationPort != nil { + in, out := &in.DestinationPort, &out.DestinationPort + *out = new(float64) + **out = **in + } + if in.DestinationRef != nil { + in, out := &in.DestinationRef, &out.DestinationRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.AllocationIDSelector != nil { - in, out := &in.AllocationIDSelector, &out.AllocationIDSelector + if in.DestinationSelector != nil { + in, out := &in.DestinationSelector, &out.DestinationSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.ConnectivityType != nil { - in, out := &in.ConnectivityType, &out.ConnectivityType - *out = new(string) - **out = **in - } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } @@ -22533,45 +25229,23 @@ func (in *NATGatewayParameters_2) DeepCopyInto(out *NATGatewayParameters_2) { *out = new(string) **out = **in } - if in.SecondaryAllocationIds != nil { - in, out := &in.SecondaryAllocationIds, &out.SecondaryAllocationIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SecondaryPrivateIPAddressCount != nil { - in, out := &in.SecondaryPrivateIPAddressCount, &out.SecondaryPrivateIPAddressCount - *out = new(float64) + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) **out = **in } - if in.SecondaryPrivateIPAddresses != nil { - in, out := &in.SecondaryPrivateIPAddresses, &out.SecondaryPrivateIPAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.SourceIP != nil { + in, out := &in.SourceIP, &out.SourceIP *out = new(string) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef + if in.SourceRef != nil { + in, out := &in.SourceRef, &out.SourceRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + if in.SourceSelector != nil { + in, out := &in.SourceSelector, &out.SourceSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } @@ -22593,53 +25267,80 @@ func (in *NATGatewayParameters_2) DeepCopyInto(out *NATGatewayParameters_2) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayParameters_2. -func (in *NATGatewayParameters_2) DeepCopy() *NATGatewayParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathParameters. +func (in *NetworkInsightsPathParameters) DeepCopy() *NetworkInsightsPathParameters { if in == nil { return nil } - out := new(NATGatewayParameters_2) + out := new(NetworkInsightsPathParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewaySpec) DeepCopyInto(out *NATGatewaySpec) { +func (in *NetworkInsightsPathSpec) DeepCopyInto(out *NetworkInsightsPathSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewaySpec. -func (in *NATGatewaySpec) DeepCopy() *NATGatewaySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathSpec. +func (in *NetworkInsightsPathSpec) DeepCopy() *NetworkInsightsPathSpec { if in == nil { return nil } - out := new(NATGatewaySpec) + out := new(NetworkInsightsPathSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NATGatewayStatus) DeepCopyInto(out *NATGatewayStatus) { +func (in *NetworkInsightsPathStatus) DeepCopyInto(out *NetworkInsightsPathStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATGatewayStatus. -func (in *NATGatewayStatus) DeepCopy() *NATGatewayStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathStatus. +func (in *NetworkInsightsPathStatus) DeepCopy() *NetworkInsightsPathStatus { if in == nil { return nil } - out := new(NATGatewayStatus) + out := new(NetworkInsightsPathStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACL) DeepCopyInto(out *NetworkACL) { +func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface. +func (in *NetworkInterface) DeepCopy() *NetworkInterface { + if in == nil { + return nil + } + out := new(NetworkInterface) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterface) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceAttachment) DeepCopyInto(out *NetworkInterfaceAttachment) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -22647,18 +25348,100 @@ func (in *NetworkACL) DeepCopyInto(out *NetworkACL) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL. -func (in *NetworkACL) DeepCopy() *NetworkACL { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachment. +func (in *NetworkInterfaceAttachment) DeepCopy() *NetworkInterfaceAttachment { + if in == nil { + return nil + } + out := new(NetworkInterfaceAttachment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterfaceAttachment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceAttachmentInitParameters) DeepCopyInto(out *NetworkInterfaceAttachmentInitParameters) { + *out = *in + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) + **out = **in + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentInitParameters. +func (in *NetworkInterfaceAttachmentInitParameters) DeepCopy() *NetworkInterfaceAttachmentInitParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceAttachmentInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceAttachmentList) DeepCopyInto(out *NetworkInterfaceAttachmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkInterfaceAttachment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentList. +func (in *NetworkInterfaceAttachmentList) DeepCopy() *NetworkInterfaceAttachmentList { if in == nil { return nil } - out := new(NetworkACL) + out := new(NetworkInterfaceAttachmentList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkACL) DeepCopyObject() runtime.Object { +func (in *NetworkInterfaceAttachmentList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -22666,320 +25449,277 @@ func (in *NetworkACL) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLEgressInitParameters) DeepCopyInto(out *NetworkACLEgressInitParameters) { +func (in *NetworkInterfaceAttachmentObservation) DeepCopyInto(out *NetworkInterfaceAttachmentObservation) { *out = *in + if in.AttachmentID != nil { + in, out := &in.AttachmentID, &out.AttachmentID + *out = new(string) + **out = **in + } + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressInitParameters. -func (in *NetworkACLEgressInitParameters) DeepCopy() *NetworkACLEgressInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentObservation. +func (in *NetworkInterfaceAttachmentObservation) DeepCopy() *NetworkInterfaceAttachmentObservation { if in == nil { return nil } - out := new(NetworkACLEgressInitParameters) + out := new(NetworkInterfaceAttachmentObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLEgressObservation) DeepCopyInto(out *NetworkACLEgressObservation) { +func (in *NetworkInterfaceAttachmentParameters) DeepCopyInto(out *NetworkInterfaceAttachmentParameters) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = new(string) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex *out = new(float64) **out = **in } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock + if in.InstanceID != nil { + in, out := &in.InstanceID, &out.InstanceID *out = new(string) **out = **in } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in + if in.InstanceIDRef != nil { + in, out := &in.InstanceIDRef, &out.InstanceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType - *out = new(float64) - **out = **in + if in.InstanceIDSelector != nil { + in, out := &in.InstanceIDSelector, &out.InstanceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) **out = **in } - if in.RuleNo != nil { - in, out := &in.RuleNo, &out.RuleNo - *out = new(float64) - **out = **in + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressObservation. -func (in *NetworkACLEgressObservation) DeepCopy() *NetworkACLEgressObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentParameters. +func (in *NetworkInterfaceAttachmentParameters) DeepCopy() *NetworkInterfaceAttachmentParameters { if in == nil { return nil } - out := new(NetworkACLEgressObservation) + out := new(NetworkInterfaceAttachmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLEgressParameters) DeepCopyInto(out *NetworkACLEgressParameters) { +func (in *NetworkInterfaceAttachmentSpec) DeepCopyInto(out *NetworkInterfaceAttachmentSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLEgressParameters. -func (in *NetworkACLEgressParameters) DeepCopy() *NetworkACLEgressParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentSpec. +func (in *NetworkInterfaceAttachmentSpec) DeepCopy() *NetworkInterfaceAttachmentSpec { if in == nil { return nil } - out := new(NetworkACLEgressParameters) + out := new(NetworkInterfaceAttachmentSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLIngressInitParameters) DeepCopyInto(out *NetworkACLIngressInitParameters) { +func (in *NetworkInterfaceAttachmentStatus) DeepCopyInto(out *NetworkInterfaceAttachmentStatus) { *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressInitParameters. -func (in *NetworkACLIngressInitParameters) DeepCopy() *NetworkACLIngressInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentStatus. +func (in *NetworkInterfaceAttachmentStatus) DeepCopy() *NetworkInterfaceAttachmentStatus { if in == nil { return nil } - out := new(NetworkACLIngressInitParameters) + out := new(NetworkInterfaceAttachmentStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLIngressObservation) DeepCopyInto(out *NetworkACLIngressObservation) { +func (in *NetworkInterfaceCountInitParameters) DeepCopyInto(out *NetworkInterfaceCountInitParameters) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = new(string) - **out = **in - } - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock - *out = new(string) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in - } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType - *out = new(float64) - **out = **in - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) - **out = **in - } - if in.RuleNo != nil { - in, out := &in.RuleNo, &out.RuleNo + if in.Max != nil { + in, out := &in.Max, &out.Max *out = new(float64) **out = **in } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressObservation. -func (in *NetworkACLIngressObservation) DeepCopy() *NetworkACLIngressObservation { - if in == nil { - return nil - } - out := new(NetworkACLIngressObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLIngressParameters) DeepCopyInto(out *NetworkACLIngressParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLIngressParameters. -func (in *NetworkACLIngressParameters) DeepCopy() *NetworkACLIngressParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountInitParameters. +func (in *NetworkInterfaceCountInitParameters) DeepCopy() *NetworkInterfaceCountInitParameters { if in == nil { return nil } - out := new(NetworkACLIngressParameters) + out := new(NetworkInterfaceCountInitParameters) in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLInitParameters) DeepCopyInto(out *NetworkACLInitParameters) { - *out = *in - if in.SubnetIDRefs != nil { - in, out := &in.SubnetIDRefs, &out.SubnetIDRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceCountObservation) DeepCopyInto(out *NetworkInterfaceCountObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLInitParameters. -func (in *NetworkACLInitParameters) DeepCopy() *NetworkACLInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountObservation. +func (in *NetworkInterfaceCountObservation) DeepCopy() *NetworkInterfaceCountObservation { if in == nil { return nil } - out := new(NetworkACLInitParameters) + out := new(NetworkInterfaceCountObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLList) DeepCopyInto(out *NetworkACLList) { +func (in *NetworkInterfaceCountParameters) DeepCopyInto(out *NetworkInterfaceCountParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkACL, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLList. -func (in *NetworkACLList) DeepCopy() *NetworkACLList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountParameters. +func (in *NetworkInterfaceCountParameters) DeepCopy() *NetworkInterfaceCountParameters { if in == nil { return nil } - out := new(NetworkACLList) + out := new(NetworkInterfaceCountParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkACLList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceInitParameters) DeepCopyInto(out *NetworkInterfaceInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceInitParameters. +func (in *NetworkInterfaceInitParameters) DeepCopy() *NetworkInterfaceInitParameters { + if in == nil { + return nil } - return nil + out := new(NetworkInterfaceInitParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLObservation) DeepCopyInto(out *NetworkACLObservation) { +func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceInitParameters_2) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = make([]NetworkACLEgressObservation, len(*in)) + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + *out = new(float64) + **out = **in + } + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + *out = new(float64) **out = **in } - if in.Ingress != nil { - in, out := &in.Ingress, &out.Ingress - *out = make([]NetworkACLIngressObservation, len(*in)) + if in.IPv6AddressList != nil { + in, out := &in.IPv6AddressList, &out.IPv6AddressList + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID - *out = new(string) + if in.IPv6AddressListEnabled != nil { + in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled + *out = new(bool) **out = **in } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -22989,77 +25729,78 @@ func (in *NetworkACLObservation) DeepCopyInto(out *NetworkACLObservation) { } } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount + *out = new(float64) + **out = **in + } + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType + *out = new(string) + **out = **in + } + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) + **out = **in + } + if in.PrivateIPList != nil { + in, out := &in.PrivateIPList, &out.PrivateIPList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) + if in.PrivateIPListEnabled != nil { + in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLObservation. -func (in *NetworkACLObservation) DeepCopy() *NetworkACLObservation { - if in == nil { - return nil + if in.PrivateIps != nil { + in, out := &in.PrivateIps, &out.PrivateIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(NetworkACLObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLParameters) DeepCopyInto(out *NetworkACLParameters) { - *out = *in - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.PrivateIpsCount != nil { + in, out := &in.PrivateIpsCount, &out.PrivateIpsCount + *out = new(float64) **out = **in } - if in.SubnetIDRefs != nil { - in, out := &in.SubnetIDRefs, &out.SubnetIDRefs + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs *out = make([]v1.Reference, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.SubnetIds != nil { - in, out := &in.SubnetIds, &out.SubnetIds + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -23069,6 +25810,26 @@ func (in *NetworkACLParameters) DeepCopyInto(out *NetworkACLParameters) { } } } + if in.SourceDestCheck != nil { + in, out := &in.SourceDestCheck, &out.SourceDestCheck + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]*string, len(*in)) @@ -23085,54 +25846,44 @@ func (in *NetworkACLParameters) DeepCopyInto(out *NetworkACLParameters) { (*out)[key] = outVal } } - if in.VPCID != nil { - in, out := &in.VPCID, &out.VPCID - *out = new(string) - **out = **in - } - if in.VPCIDRef != nil { - in, out := &in.VPCIDRef, &out.VPCIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.VPCIDSelector != nil { - in, out := &in.VPCIDSelector, &out.VPCIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLParameters. -func (in *NetworkACLParameters) DeepCopy() *NetworkACLParameters { + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceInitParameters_2. +func (in *NetworkInterfaceInitParameters_2) DeepCopy() *NetworkInterfaceInitParameters_2 { if in == nil { return nil } - out := new(NetworkACLParameters) + out := new(NetworkInterfaceInitParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRule) DeepCopyInto(out *NetworkACLRule) { +func (in *NetworkInterfaceList) DeepCopyInto(out *NetworkInterfaceList) { *out = *in out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkInterface, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRule. -func (in *NetworkACLRule) DeepCopy() *NetworkACLRule { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceList. +func (in *NetworkInterfaceList) DeepCopy() *NetworkInterfaceList { if in == nil { return nil } - out := new(NetworkACLRule) + out := new(NetworkInterfaceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkACLRule) DeepCopyObject() runtime.Object { +func (in *NetworkInterfaceList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -23140,679 +25891,793 @@ func (in *NetworkACLRule) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleInitParameters) DeepCopyInto(out *NetworkACLRuleInitParameters) { +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = new(bool) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation_2) DeepCopyInto(out *NetworkInterfaceObservation_2) { + *out = *in + if in.Arn != nil { + in, out := &in.Arn, &out.Arn *out = new(string) **out = **in } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode + if in.Attachment != nil { + in, out := &in.Attachment, &out.Attachment + *out = make([]AttachmentObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount *out = new(float64) **out = **in } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount *out = new(float64) **out = **in } - if in.NetworkACLID != nil { - in, out := &in.NetworkACLID, &out.NetworkACLID + if in.IPv6AddressList != nil { + in, out := &in.IPv6AddressList, &out.IPv6AddressList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPv6AddressListEnabled != nil { + in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled + *out = new(bool) + **out = **in + } + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount + *out = new(float64) + **out = **in + } + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType *out = new(string) **out = **in } - if in.NetworkACLIDRef != nil { - in, out := &in.NetworkACLIDRef, &out.NetworkACLIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.MacAddress != nil { + in, out := &in.MacAddress, &out.MacAddress + *out = new(string) + **out = **in } - if in.NetworkACLIDSelector != nil { - in, out := &in.NetworkACLIDSelector, &out.NetworkACLIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.OutpostArn != nil { + in, out := &in.OutpostArn, &out.OutpostArn + *out = new(string) + **out = **in } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.OwnerID != nil { + in, out := &in.OwnerID, &out.OwnerID *out = new(string) **out = **in } - if in.RuleAction != nil { - in, out := &in.RuleAction, &out.RuleAction + if in.PrivateDNSName != nil { + in, out := &in.PrivateDNSName, &out.PrivateDNSName *out = new(string) **out = **in } - if in.RuleNumber != nil { - in, out := &in.RuleNumber, &out.RuleNumber - *out = new(float64) + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) **out = **in } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort + if in.PrivateIPList != nil { + in, out := &in.PrivateIPList, &out.PrivateIPList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrivateIPListEnabled != nil { + in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled + *out = new(bool) + **out = **in + } + if in.PrivateIps != nil { + in, out := &in.PrivateIps, &out.PrivateIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrivateIpsCount != nil { + in, out := &in.PrivateIpsCount, &out.PrivateIpsCount *out = new(float64) **out = **in } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceDestCheck != nil { + in, out := &in.SourceDestCheck, &out.SourceDestCheck + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TagsAll != nil { + in, out := &in.TagsAll, &out.TagsAll + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleInitParameters. -func (in *NetworkACLRuleInitParameters) DeepCopy() *NetworkACLRuleInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation_2. +func (in *NetworkInterfaceObservation_2) DeepCopy() *NetworkInterfaceObservation_2 { if in == nil { return nil } - out := new(NetworkACLRuleInitParameters) + out := new(NetworkInterfaceObservation_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleList) DeepCopyInto(out *NetworkACLRuleList) { +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkACLRule, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleList. -func (in *NetworkACLRuleList) DeepCopy() *NetworkACLRuleList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { if in == nil { return nil } - out := new(NetworkACLRuleList) + out := new(NetworkInterfaceParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkACLRuleList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleObservation) DeepCopyInto(out *NetworkACLRuleObservation) { +func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParameters_2) { *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = new(bool) - **out = **in - } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount *out = new(float64) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) - **out = **in - } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount *out = new(float64) **out = **in } - if in.NetworkACLID != nil { - in, out := &in.NetworkACLID, &out.NetworkACLID - *out = new(string) - **out = **in - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) - **out = **in + if in.IPv6AddressList != nil { + in, out := &in.IPv6AddressList, &out.IPv6AddressList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.RuleAction != nil { - in, out := &in.RuleAction, &out.RuleAction - *out = new(string) + if in.IPv6AddressListEnabled != nil { + in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled + *out = new(bool) **out = **in } - if in.RuleNumber != nil { - in, out := &in.RuleNumber, &out.RuleNumber - *out = new(float64) - **out = **in + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleObservation. -func (in *NetworkACLRuleObservation) DeepCopy() *NetworkACLRuleObservation { - if in == nil { - return nil + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(NetworkACLRuleObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleParameters) DeepCopyInto(out *NetworkACLRuleParameters) { - *out = *in - if in.CidrBlock != nil { - in, out := &in.CidrBlock, &out.CidrBlock + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType *out = new(string) **out = **in } - if in.Egress != nil { - in, out := &in.Egress, &out.Egress - *out = new(bool) + if in.PrivateIP != nil { + in, out := &in.PrivateIP, &out.PrivateIP + *out = new(string) **out = **in } - if in.FromPort != nil { - in, out := &in.FromPort, &out.FromPort - *out = new(float64) - **out = **in + if in.PrivateIPList != nil { + in, out := &in.PrivateIPList, &out.PrivateIPList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IPv6CidrBlock != nil { - in, out := &in.IPv6CidrBlock, &out.IPv6CidrBlock - *out = new(string) + if in.PrivateIPListEnabled != nil { + in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled + *out = new(bool) **out = **in } - if in.IcmpCode != nil { - in, out := &in.IcmpCode, &out.IcmpCode - *out = new(float64) - **out = **in + if in.PrivateIps != nil { + in, out := &in.PrivateIps, &out.PrivateIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IcmpType != nil { - in, out := &in.IcmpType, &out.IcmpType + if in.PrivateIpsCount != nil { + in, out := &in.PrivateIpsCount, &out.PrivateIpsCount *out = new(float64) **out = **in } - if in.NetworkACLID != nil { - in, out := &in.NetworkACLID, &out.NetworkACLID + if in.Region != nil { + in, out := &in.Region, &out.Region *out = new(string) **out = **in } - if in.NetworkACLIDRef != nil { - in, out := &in.NetworkACLIDRef, &out.NetworkACLIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.NetworkACLIDSelector != nil { - in, out := &in.NetworkACLIDSelector, &out.NetworkACLIDSelector + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) - **out = **in + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) + if in.SourceDestCheck != nil { + in, out := &in.SourceDestCheck, &out.SourceDestCheck + *out = new(bool) **out = **in } - if in.RuleAction != nil { - in, out := &in.RuleAction, &out.RuleAction + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } - if in.RuleNumber != nil { - in, out := &in.RuleNumber, &out.RuleNumber - *out = new(float64) - **out = **in - } - if in.ToPort != nil { - in, out := &in.ToPort, &out.ToPort - *out = new(float64) - **out = **in + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleParameters. -func (in *NetworkACLRuleParameters) DeepCopy() *NetworkACLRuleParameters { - if in == nil { - return nil + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(NetworkACLRuleParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleSpec) DeepCopyInto(out *NetworkACLRuleSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleSpec. -func (in *NetworkACLRuleSpec) DeepCopy() *NetworkACLRuleSpec { - if in == nil { - return nil + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + inVal := (*in)[key] + in, out := &inVal, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out := new(NetworkACLRuleSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLRuleStatus) DeepCopyInto(out *NetworkACLRuleStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLRuleStatus. -func (in *NetworkACLRuleStatus) DeepCopy() *NetworkACLRuleStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters_2. +func (in *NetworkInterfaceParameters_2) DeepCopy() *NetworkInterfaceParameters_2 { if in == nil { return nil } - out := new(NetworkACLRuleStatus) + out := new(NetworkInterfaceParameters_2) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLSpec) DeepCopyInto(out *NetworkACLSpec) { +func (in *NetworkInterfaceSgAttachment) DeepCopyInto(out *NetworkInterfaceSgAttachment) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLSpec. -func (in *NetworkACLSpec) DeepCopy() *NetworkACLSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachment. +func (in *NetworkInterfaceSgAttachment) DeepCopy() *NetworkInterfaceSgAttachment { if in == nil { return nil } - out := new(NetworkACLSpec) + out := new(NetworkInterfaceSgAttachment) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkACLStatus) DeepCopyInto(out *NetworkACLStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLStatus. -func (in *NetworkACLStatus) DeepCopy() *NetworkACLStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterfaceSgAttachment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(NetworkACLStatus) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkBandwidthGbpsInitParameters) DeepCopyInto(out *NetworkBandwidthGbpsInitParameters) { +func (in *NetworkInterfaceSgAttachmentInitParameters) DeepCopyInto(out *NetworkInterfaceSgAttachmentInitParameters) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) **out = **in } + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsInitParameters. -func (in *NetworkBandwidthGbpsInitParameters) DeepCopy() *NetworkBandwidthGbpsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentInitParameters. +func (in *NetworkInterfaceSgAttachmentInitParameters) DeepCopy() *NetworkInterfaceSgAttachmentInitParameters { if in == nil { return nil } - out := new(NetworkBandwidthGbpsInitParameters) + out := new(NetworkInterfaceSgAttachmentInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkBandwidthGbpsObservation) DeepCopyInto(out *NetworkBandwidthGbpsObservation) { +func (in *NetworkInterfaceSgAttachmentList) DeepCopyInto(out *NetworkInterfaceSgAttachmentList) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) - **out = **in - } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkInterfaceSgAttachment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsObservation. -func (in *NetworkBandwidthGbpsObservation) DeepCopy() *NetworkBandwidthGbpsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentList. +func (in *NetworkInterfaceSgAttachmentList) DeepCopy() *NetworkInterfaceSgAttachmentList { if in == nil { return nil } - out := new(NetworkBandwidthGbpsObservation) + out := new(NetworkInterfaceSgAttachmentList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterfaceSgAttachmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkBandwidthGbpsParameters) DeepCopyInto(out *NetworkBandwidthGbpsParameters) { +func (in *NetworkInterfaceSgAttachmentObservation) DeepCopyInto(out *NetworkInterfaceSgAttachmentObservation) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBandwidthGbpsParameters. -func (in *NetworkBandwidthGbpsParameters) DeepCopy() *NetworkBandwidthGbpsParameters { - if in == nil { - return nil + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in } - out := new(NetworkBandwidthGbpsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysis) DeepCopyInto(out *NetworkInsightsAnalysis) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysis. -func (in *NetworkInsightsAnalysis) DeepCopy() *NetworkInsightsAnalysis { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentObservation. +func (in *NetworkInterfaceSgAttachmentObservation) DeepCopy() *NetworkInterfaceSgAttachmentObservation { if in == nil { return nil } - out := new(NetworkInsightsAnalysis) + out := new(NetworkInterfaceSgAttachmentObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInsightsAnalysis) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisInitParameters) DeepCopyInto(out *NetworkInsightsAnalysisInitParameters) { +func (in *NetworkInterfaceSgAttachmentParameters) DeepCopyInto(out *NetworkInterfaceSgAttachmentParameters) { *out = *in - if in.FilterInArns != nil { - in, out := &in.FilterInArns, &out.FilterInArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.NetworkInsightsPathID != nil { - in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) **out = **in } - if in.NetworkInsightsPathIDRef != nil { - in, out := &in.NetworkInsightsPathIDRef, &out.NetworkInsightsPathIDRef + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.NetworkInsightsPathIDSelector != nil { - in, out := &in.NetworkInsightsPathIDSelector, &out.NetworkInsightsPathIDSelector + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in } - if in.WaitForCompletion != nil { - in, out := &in.WaitForCompletion, &out.WaitForCompletion - *out = new(bool) + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) **out = **in } + if in.SecurityGroupIDRef != nil { + in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroupIDSelector != nil { + in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisInitParameters. -func (in *NetworkInsightsAnalysisInitParameters) DeepCopy() *NetworkInsightsAnalysisInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentParameters. +func (in *NetworkInterfaceSgAttachmentParameters) DeepCopy() *NetworkInterfaceSgAttachmentParameters { if in == nil { return nil } - out := new(NetworkInsightsAnalysisInitParameters) + out := new(NetworkInterfaceSgAttachmentParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisList) DeepCopyInto(out *NetworkInsightsAnalysisList) { +func (in *NetworkInterfaceSgAttachmentSpec) DeepCopyInto(out *NetworkInterfaceSgAttachmentSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkInsightsAnalysis, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentSpec. +func (in *NetworkInterfaceSgAttachmentSpec) DeepCopy() *NetworkInterfaceSgAttachmentSpec { + if in == nil { + return nil } + out := new(NetworkInterfaceSgAttachmentSpec) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisList. -func (in *NetworkInsightsAnalysisList) DeepCopy() *NetworkInsightsAnalysisList { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceSgAttachmentStatus) DeepCopyInto(out *NetworkInterfaceSgAttachmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentStatus. +func (in *NetworkInterfaceSgAttachmentStatus) DeepCopy() *NetworkInterfaceSgAttachmentStatus { if in == nil { return nil } - out := new(NetworkInsightsAnalysisList) + out := new(NetworkInterfaceSgAttachmentStatus) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInsightsAnalysisList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceSpec) DeepCopyInto(out *NetworkInterfaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) + in.InitProvider.DeepCopyInto(&out.InitProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSpec. +func (in *NetworkInterfaceSpec) DeepCopy() *NetworkInterfaceSpec { + if in == nil { + return nil } - return nil + out := new(NetworkInterfaceSpec) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisObservation) DeepCopyInto(out *NetworkInsightsAnalysisObservation) { +func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus) { *out = *in - if in.AlternatePathHints != nil { - in, out := &in.AlternatePathHints, &out.AlternatePathHints - *out = make([]AlternatePathHintsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus. +func (in *NetworkInterfaceStatus) DeepCopy() *NetworkInterfaceStatus { + if in == nil { + return nil } - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + out := new(NetworkInterfaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfacesInitParameters) DeepCopyInto(out *NetworkInterfacesInitParameters) { + *out = *in + if in.AssociateCarrierIPAddress != nil { + in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress *out = new(string) **out = **in } - if in.Explanations != nil { - in, out := &in.Explanations, &out.Explanations - *out = make([]ExplanationsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.FilterInArns != nil { - in, out := &in.FilterInArns, &out.FilterInArns - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ForwardPathComponents != nil { - in, out := &in.ForwardPathComponents, &out.ForwardPathComponents - *out = make([]ForwardPathComponentsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress *out = new(string) **out = **in } - if in.NetworkInsightsPathID != nil { - in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(string) **out = **in } - if in.PathFound != nil { - in, out := &in.PathFound, &out.PathFound - *out = new(bool) - **out = **in - } - if in.ReturnPathComponents != nil { - in, out := &in.ReturnPathComponents, &out.ReturnPathComponents - *out = make([]ReturnPathComponentsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.StartDate != nil { - in, out := &in.StartDate, &out.StartDate + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) **out = **in } - if in.StatusMessage != nil { - in, out := &in.StatusMessage, &out.StatusMessage - *out = new(string) + if in.IPv4AddressCount != nil { + in, out := &in.IPv4AddressCount, &out.IPv4AddressCount + *out = new(float64) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.IPv4Addresses != nil { + in, out := &in.IPv4Addresses, &out.IPv4Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + *out = new(float64) + **out = **in + } + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.WaitForCompletion != nil { - in, out := &in.WaitForCompletion, &out.WaitForCompletion - *out = new(bool) + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + *out = new(float64) **out = **in } - if in.WarningMessage != nil { - in, out := &in.WarningMessage, &out.WarningMessage - *out = new(string) - **out = **in + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisObservation. -func (in *NetworkInsightsAnalysisObservation) DeepCopy() *NetworkInsightsAnalysisObservation { - if in == nil { - return nil + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount + *out = new(float64) + **out = **in } - out := new(NetworkInsightsAnalysisObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisParameters) DeepCopyInto(out *NetworkInsightsAnalysisParameters) { - *out = *in - if in.FilterInArns != nil { - in, out := &in.FilterInArns, &out.FilterInArns + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -23822,528 +26687,337 @@ func (in *NetworkInsightsAnalysisParameters) DeepCopyInto(out *NetworkInsightsAn } } } - if in.NetworkInsightsPathID != nil { - in, out := &in.NetworkInsightsPathID, &out.NetworkInsightsPathID + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType + *out = new(string) + **out = **in + } + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + *out = new(float64) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) **out = **in } - if in.NetworkInsightsPathIDRef != nil { - in, out := &in.NetworkInsightsPathIDRef, &out.NetworkInsightsPathIDRef + if in.NetworkInterfaceIDRef != nil { + in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef *out = new(v1.Reference) (*in).DeepCopyInto(*out) } - if in.NetworkInsightsPathIDSelector != nil { - in, out := &in.NetworkInsightsPathIDSelector, &out.NetworkInsightsPathIDSelector + if in.NetworkInterfaceIDSelector != nil { + in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.PrimaryIPv6 != nil { + in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.WaitForCompletion != nil { - in, out := &in.WaitForCompletion, &out.WaitForCompletion - *out = new(bool) + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisParameters. -func (in *NetworkInsightsAnalysisParameters) DeepCopy() *NetworkInsightsAnalysisParameters { - if in == nil { - return nil - } - out := new(NetworkInsightsAnalysisParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisSpec) DeepCopyInto(out *NetworkInsightsAnalysisSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisSpec. -func (in *NetworkInsightsAnalysisSpec) DeepCopy() *NetworkInsightsAnalysisSpec { - if in == nil { - return nil + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) } - out := new(NetworkInsightsAnalysisSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsAnalysisStatus) DeepCopyInto(out *NetworkInsightsAnalysisStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsAnalysisStatus. -func (in *NetworkInsightsAnalysisStatus) DeepCopy() *NetworkInsightsAnalysisStatus { - if in == nil { - return nil + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) } - out := new(NetworkInsightsAnalysisStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPath) DeepCopyInto(out *NetworkInsightsPath) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPath. -func (in *NetworkInsightsPath) DeepCopy() *NetworkInsightsPath { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesInitParameters. +func (in *NetworkInterfacesInitParameters) DeepCopy() *NetworkInterfacesInitParameters { if in == nil { return nil } - out := new(NetworkInsightsPath) + out := new(NetworkInterfacesInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInsightsPath) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathInitParameters) DeepCopyInto(out *NetworkInsightsPathInitParameters) { +func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObservation) { *out = *in - if in.Destination != nil { - in, out := &in.Destination, &out.Destination + if in.AssociateCarrierIPAddress != nil { + in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress *out = new(string) **out = **in } - if in.DestinationIP != nil { - in, out := &in.DestinationIP, &out.DestinationIP + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress *out = new(string) **out = **in } - if in.DestinationPort != nil { - in, out := &in.DestinationPort, &out.DestinationPort - *out = new(float64) - **out = **in - } - if in.DestinationRef != nil { - in, out := &in.DestinationRef, &out.DestinationRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DestinationSelector != nil { - in, out := &in.DestinationSelector, &out.DestinationSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(string) **out = **in } - if in.Source != nil { - in, out := &in.Source, &out.Source + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.SourceIP != nil { - in, out := &in.SourceIP, &out.SourceIP - *out = new(string) + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) **out = **in } - if in.SourceRef != nil { - in, out := &in.SourceRef, &out.SourceRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SourceSelector != nil { - in, out := &in.SourceSelector, &out.SourceSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.IPv4AddressCount != nil { + in, out := &in.IPv4AddressCount, &out.IPv4AddressCount + *out = new(float64) + **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.IPv4Addresses != nil { + in, out := &in.IPv4Addresses, &out.IPv4Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathInitParameters. -func (in *NetworkInsightsPathInitParameters) DeepCopy() *NetworkInsightsPathInitParameters { - if in == nil { - return nil - } - out := new(NetworkInsightsPathInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathList) DeepCopyInto(out *NetworkInsightsPathList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkInsightsPath, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathList. -func (in *NetworkInsightsPathList) DeepCopy() *NetworkInsightsPathList { - if in == nil { - return nil - } - out := new(NetworkInsightsPathList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInsightsPathList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathObservation) DeepCopyInto(out *NetworkInsightsPathObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + *out = new(float64) **out = **in } - if in.Destination != nil { - in, out := &in.Destination, &out.Destination - *out = new(string) - **out = **in + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.DestinationArn != nil { - in, out := &in.DestinationArn, &out.DestinationArn - *out = new(string) + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + *out = new(float64) **out = **in } - if in.DestinationIP != nil { - in, out := &in.DestinationIP, &out.DestinationIP - *out = new(string) - **out = **in + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.DestinationPort != nil { - in, out := &in.DestinationPort, &out.DestinationPort + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount *out = new(float64) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType *out = new(string) **out = **in } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + *out = new(float64) **out = **in } - if in.Source != nil { - in, out := &in.Source, &out.Source + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID *out = new(string) **out = **in } - if in.SourceArn != nil { - in, out := &in.SourceArn, &out.SourceArn + if in.PrimaryIPv6 != nil { + in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 *out = new(string) **out = **in } - if in.SourceIP != nil { - in, out := &in.SourceIP, &out.SourceIP + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress *out = new(string) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathObservation. -func (in *NetworkInsightsPathObservation) DeepCopy() *NetworkInsightsPathObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesObservation. +func (in *NetworkInterfacesObservation) DeepCopy() *NetworkInterfacesObservation { if in == nil { return nil } - out := new(NetworkInsightsPathObservation) + out := new(NetworkInterfacesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathParameters) DeepCopyInto(out *NetworkInsightsPathParameters) { +func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParameters) { *out = *in - if in.Destination != nil { - in, out := &in.Destination, &out.Destination + if in.AssociateCarrierIPAddress != nil { + in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress *out = new(string) **out = **in } - if in.DestinationIP != nil { - in, out := &in.DestinationIP, &out.DestinationIP + if in.AssociatePublicIPAddress != nil { + in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress *out = new(string) **out = **in } - if in.DestinationPort != nil { - in, out := &in.DestinationPort, &out.DestinationPort - *out = new(float64) - **out = **in - } - if in.DestinationRef != nil { - in, out := &in.DestinationRef, &out.DestinationRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.DestinationSelector != nil { - in, out := &in.DestinationSelector, &out.DestinationSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol + if in.DeleteOnTermination != nil { + in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(string) **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Source != nil { - in, out := &in.Source, &out.Source - *out = new(string) + if in.DeviceIndex != nil { + in, out := &in.DeviceIndex, &out.DeviceIndex + *out = new(float64) **out = **in } - if in.SourceIP != nil { - in, out := &in.SourceIP, &out.SourceIP - *out = new(string) + if in.IPv4AddressCount != nil { + in, out := &in.IPv4AddressCount, &out.IPv4AddressCount + *out = new(float64) **out = **in } - if in.SourceRef != nil { - in, out := &in.SourceRef, &out.SourceRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SourceSelector != nil { - in, out := &in.SourceSelector, &out.SourceSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal + if in.IPv4Addresses != nil { + in, out := &in.IPv4Addresses, &out.IPv4Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathParameters. -func (in *NetworkInsightsPathParameters) DeepCopy() *NetworkInsightsPathParameters { - if in == nil { - return nil - } - out := new(NetworkInsightsPathParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathSpec) DeepCopyInto(out *NetworkInsightsPathSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathSpec. -func (in *NetworkInsightsPathSpec) DeepCopy() *NetworkInsightsPathSpec { - if in == nil { - return nil - } - out := new(NetworkInsightsPathSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInsightsPathStatus) DeepCopyInto(out *NetworkInsightsPathStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInsightsPathStatus. -func (in *NetworkInsightsPathStatus) DeepCopy() *NetworkInsightsPathStatus { - if in == nil { - return nil - } - out := new(NetworkInsightsPathStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface. -func (in *NetworkInterface) DeepCopy() *NetworkInterface { - if in == nil { - return nil + if in.IPv4PrefixCount != nil { + in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + *out = new(float64) + **out = **in } - out := new(NetworkInterface) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterface) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.IPv4Prefixes != nil { + in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachment) DeepCopyInto(out *NetworkInterfaceAttachment) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachment. -func (in *NetworkInterfaceAttachment) DeepCopy() *NetworkInterfaceAttachment { - if in == nil { - return nil + if in.IPv6AddressCount != nil { + in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + *out = new(float64) + **out = **in } - out := new(NetworkInterfaceAttachment) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterfaceAttachment) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c + if in.IPv6Addresses != nil { + in, out := &in.IPv6Addresses, &out.IPv6Addresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentInitParameters) DeepCopyInto(out *NetworkInterfaceAttachmentInitParameters) { - *out = *in - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex + if in.IPv6PrefixCount != nil { + in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount *out = new(float64) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID + if in.IPv6Prefixes != nil { + in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InterfaceType != nil { + in, out := &in.InterfaceType, &out.InterfaceType *out = new(string) **out = **in } - if in.InstanceIDRef != nil { - in, out := &in.InstanceIDRef, &out.InstanceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.InstanceIDSelector != nil { - in, out := &in.InstanceIDSelector, &out.InstanceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.NetworkCardIndex != nil { + in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + *out = new(float64) + **out = **in } if in.NetworkInterfaceID != nil { in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID @@ -24360,322 +27034,381 @@ func (in *NetworkInterfaceAttachmentInitParameters) DeepCopyInto(out *NetworkInt *out = new(v1.Selector) (*in).DeepCopyInto(*out) } + if in.PrimaryIPv6 != nil { + in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 + *out = new(string) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.SecurityGroupRefs != nil { + in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs + *out = make([]v1.Reference, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityGroupSelector != nil { + in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetIDRef != nil { + in, out := &in.SubnetIDRef, &out.SubnetIDRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.SubnetIDSelector != nil { + in, out := &in.SubnetIDSelector, &out.SubnetIDSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentInitParameters. -func (in *NetworkInterfaceAttachmentInitParameters) DeepCopy() *NetworkInterfaceAttachmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesParameters. +func (in *NetworkInterfacesParameters) DeepCopy() *NetworkInterfacesParameters { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentInitParameters) + out := new(NetworkInterfacesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentList) DeepCopyInto(out *NetworkInterfaceAttachmentList) { +func (in *OnDemandOptionsInitParameters) DeepCopyInto(out *OnDemandOptionsInitParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkInterfaceAttachment, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(string) + **out = **in + } + if in.MaxTotalPrice != nil { + in, out := &in.MaxTotalPrice, &out.MaxTotalPrice + *out = new(string) + **out = **in + } + if in.MinTargetCapacity != nil { + in, out := &in.MinTargetCapacity, &out.MinTargetCapacity + *out = new(float64) + **out = **in + } + if in.SingleAvailabilityZone != nil { + in, out := &in.SingleAvailabilityZone, &out.SingleAvailabilityZone + *out = new(bool) + **out = **in + } + if in.SingleInstanceType != nil { + in, out := &in.SingleInstanceType, &out.SingleInstanceType + *out = new(bool) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentList. -func (in *NetworkInterfaceAttachmentList) DeepCopy() *NetworkInterfaceAttachmentList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnDemandOptionsInitParameters. +func (in *OnDemandOptionsInitParameters) DeepCopy() *OnDemandOptionsInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentList) + out := new(OnDemandOptionsInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterfaceAttachmentList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentObservation) DeepCopyInto(out *NetworkInterfaceAttachmentObservation) { +func (in *OnDemandOptionsObservation) DeepCopyInto(out *OnDemandOptionsObservation) { *out = *in - if in.AttachmentID != nil { - in, out := &in.AttachmentID, &out.AttachmentID + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy *out = new(string) **out = **in } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) - **out = **in - } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.MaxTotalPrice != nil { + in, out := &in.MaxTotalPrice, &out.MaxTotalPrice *out = new(string) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID - *out = new(string) + if in.MinTargetCapacity != nil { + in, out := &in.MinTargetCapacity, &out.MinTargetCapacity + *out = new(float64) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) + if in.SingleAvailabilityZone != nil { + in, out := &in.SingleAvailabilityZone, &out.SingleAvailabilityZone + *out = new(bool) **out = **in } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(string) + if in.SingleInstanceType != nil { + in, out := &in.SingleInstanceType, &out.SingleInstanceType + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentObservation. -func (in *NetworkInterfaceAttachmentObservation) DeepCopy() *NetworkInterfaceAttachmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnDemandOptionsObservation. +func (in *OnDemandOptionsObservation) DeepCopy() *OnDemandOptionsObservation { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentObservation) + out := new(OnDemandOptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentParameters) DeepCopyInto(out *NetworkInterfaceAttachmentParameters) { +func (in *OnDemandOptionsParameters) DeepCopyInto(out *OnDemandOptionsParameters) { *out = *in - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) + if in.AllocationStrategy != nil { + in, out := &in.AllocationStrategy, &out.AllocationStrategy + *out = new(string) **out = **in } - if in.InstanceID != nil { - in, out := &in.InstanceID, &out.InstanceID + if in.MaxTotalPrice != nil { + in, out := &in.MaxTotalPrice, &out.MaxTotalPrice *out = new(string) **out = **in } - if in.InstanceIDRef != nil { - in, out := &in.InstanceIDRef, &out.InstanceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) + if in.MinTargetCapacity != nil { + in, out := &in.MinTargetCapacity, &out.MinTargetCapacity + *out = new(float64) + **out = **in } - if in.InstanceIDSelector != nil { - in, out := &in.InstanceIDSelector, &out.InstanceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.SingleAvailabilityZone != nil { + in, out := &in.SingleAvailabilityZone, &out.SingleAvailabilityZone + *out = new(bool) + **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) + if in.SingleInstanceType != nil { + in, out := &in.SingleInstanceType, &out.SingleInstanceType + *out = new(bool) **out = **in } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnDemandOptionsParameters. +func (in *OnDemandOptionsParameters) DeepCopy() *OnDemandOptionsParameters { + if in == nil { + return nil } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + out := new(OnDemandOptionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OperatingRegionsInitParameters) DeepCopyInto(out *OperatingRegionsInitParameters) { + *out = *in + if in.RegionName != nil { + in, out := &in.RegionName, &out.RegionName + *out = new(string) + **out = **in } - if in.Region != nil { - in, out := &in.Region, &out.Region +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsInitParameters. +func (in *OperatingRegionsInitParameters) DeepCopy() *OperatingRegionsInitParameters { + if in == nil { + return nil + } + out := new(OperatingRegionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OperatingRegionsObservation) DeepCopyInto(out *OperatingRegionsObservation) { + *out = *in + if in.RegionName != nil { + in, out := &in.RegionName, &out.RegionName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentParameters. -func (in *NetworkInterfaceAttachmentParameters) DeepCopy() *NetworkInterfaceAttachmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsObservation. +func (in *OperatingRegionsObservation) DeepCopy() *OperatingRegionsObservation { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentParameters) + out := new(OperatingRegionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentSpec) DeepCopyInto(out *NetworkInterfaceAttachmentSpec) { +func (in *OperatingRegionsParameters) DeepCopyInto(out *OperatingRegionsParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.RegionName != nil { + in, out := &in.RegionName, &out.RegionName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentSpec. -func (in *NetworkInterfaceAttachmentSpec) DeepCopy() *NetworkInterfaceAttachmentSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsParameters. +func (in *OperatingRegionsParameters) DeepCopy() *OperatingRegionsParameters { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentSpec) + out := new(OperatingRegionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceAttachmentStatus) DeepCopyInto(out *NetworkInterfaceAttachmentStatus) { +func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.DynamicRouting != nil { + in, out := &in.DynamicRouting, &out.DynamicRouting + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceAttachmentStatus. -func (in *NetworkInterfaceAttachmentStatus) DeepCopy() *NetworkInterfaceAttachmentStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsInitParameters. +func (in *OptionsInitParameters) DeepCopy() *OptionsInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceAttachmentStatus) + out := new(OptionsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceCountInitParameters) DeepCopyInto(out *NetworkInterfaceCountInitParameters) { +func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) - **out = **in - } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) + if in.DynamicRouting != nil { + in, out := &in.DynamicRouting, &out.DynamicRouting + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountInitParameters. -func (in *NetworkInterfaceCountInitParameters) DeepCopy() *NetworkInterfaceCountInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsObservation. +func (in *OptionsObservation) DeepCopy() *OptionsObservation { if in == nil { return nil } - out := new(NetworkInterfaceCountInitParameters) + out := new(OptionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceCountObservation) DeepCopyInto(out *NetworkInterfaceCountObservation) { +func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max - *out = new(float64) + if in.DynamicRouting != nil { + in, out := &in.DynamicRouting, &out.DynamicRouting + *out = new(string) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsParameters. +func (in *OptionsParameters) DeepCopy() *OptionsParameters { + if in == nil { + return nil } + out := new(OptionsParameters) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountObservation. -func (in *NetworkInterfaceCountObservation) DeepCopy() *NetworkInterfaceCountObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundHeaderDestinationPortRangesInitParameters) DeepCopyInto(out *OutboundHeaderDestinationPortRangesInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesInitParameters. +func (in *OutboundHeaderDestinationPortRangesInitParameters) DeepCopy() *OutboundHeaderDestinationPortRangesInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceCountObservation) + out := new(OutboundHeaderDestinationPortRangesInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceCountParameters) DeepCopyInto(out *NetworkInterfaceCountParameters) { +func (in *OutboundHeaderDestinationPortRangesObservation) DeepCopyInto(out *OutboundHeaderDestinationPortRangesObservation) { *out = *in - if in.Max != nil { - in, out := &in.Max, &out.Max + if in.From != nil { + in, out := &in.From, &out.From *out = new(float64) **out = **in } - if in.Min != nil { - in, out := &in.Min, &out.Min + if in.To != nil { + in, out := &in.To, &out.To *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceCountParameters. -func (in *NetworkInterfaceCountParameters) DeepCopy() *NetworkInterfaceCountParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesObservation. +func (in *OutboundHeaderDestinationPortRangesObservation) DeepCopy() *OutboundHeaderDestinationPortRangesObservation { if in == nil { return nil } - out := new(NetworkInterfaceCountParameters) + out := new(OutboundHeaderDestinationPortRangesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceInitParameters) DeepCopyInto(out *NetworkInterfaceInitParameters) { +func (in *OutboundHeaderDestinationPortRangesParameters) DeepCopyInto(out *OutboundHeaderDestinationPortRangesParameters) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceInitParameters. -func (in *NetworkInterfaceInitParameters) DeepCopy() *NetworkInterfaceInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesParameters. +func (in *OutboundHeaderDestinationPortRangesParameters) DeepCopy() *OutboundHeaderDestinationPortRangesParameters { if in == nil { return nil } - out := new(NetworkInterfaceInitParameters) + out := new(OutboundHeaderDestinationPortRangesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceInitParameters_2) { +func (in *OutboundHeaderInitParameters) DeepCopyInto(out *OutboundHeaderInitParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount - *out = new(float64) - **out = **in - } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount - *out = new(float64) - **out = **in - } - if in.IPv6AddressList != nil { - in, out := &in.IPv6AddressList, &out.IPv6AddressList - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.IPv6AddressListEnabled != nil { - in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled - *out = new(bool) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderInitParameters. +func (in *OutboundHeaderInitParameters) DeepCopy() *OutboundHeaderInitParameters { + if in == nil { + return nil } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses + out := new(OutboundHeaderInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundHeaderObservation) DeepCopyInto(out *OutboundHeaderObservation) { + *out = *in + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -24685,78 +27418,20 @@ func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceIn } } } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount - *out = new(float64) - **out = **in - } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes - *out = make([]*string, len(*in)) + if in.DestinationPortRanges != nil { + in, out := &in.DestinationPortRanges, &out.DestinationPortRanges + *out = make([]OutboundHeaderDestinationPortRangesObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType - *out = new(string) - **out = **in - } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } - if in.PrivateIPList != nil { - in, out := &in.PrivateIPList, &out.PrivateIPList - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.PrivateIPListEnabled != nil { - in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled - *out = new(bool) - **out = **in - } - if in.PrivateIps != nil { - in, out := &in.PrivateIps, &out.PrivateIps - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.PrivateIpsCount != nil { - in, out := &in.PrivateIpsCount, &out.PrivateIpsCount - *out = new(float64) - **out = **in - } - if in.SecurityGroupRefs != nil { - in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupSelector != nil { - in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -24766,362 +27441,380 @@ func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceIn } } } - if in.SourceDestCheck != nil { - in, out := &in.SourceDestCheck, &out.SourceDestCheck - *out = new(bool) - **out = **in - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) - **out = **in - } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.SourcePortRanges != nil { + in, out := &in.SourcePortRanges, &out.SourcePortRanges + *out = make([]OutboundHeaderSourcePortRangesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceInitParameters_2. -func (in *NetworkInterfaceInitParameters_2) DeepCopy() *NetworkInterfaceInitParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderObservation. +func (in *OutboundHeaderObservation) DeepCopy() *OutboundHeaderObservation { if in == nil { return nil } - out := new(NetworkInterfaceInitParameters_2) + out := new(OutboundHeaderObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceList) DeepCopyInto(out *NetworkInterfaceList) { +func (in *OutboundHeaderParameters) DeepCopyInto(out *OutboundHeaderParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkInterface, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceList. -func (in *NetworkInterfaceList) DeepCopy() *NetworkInterfaceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderParameters. +func (in *OutboundHeaderParameters) DeepCopy() *OutboundHeaderParameters { if in == nil { return nil } - out := new(NetworkInterfaceList) + out := new(OutboundHeaderParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterfaceList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundHeaderSourcePortRangesInitParameters) DeepCopyInto(out *OutboundHeaderSourcePortRangesInitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesInitParameters. +func (in *OutboundHeaderSourcePortRangesInitParameters) DeepCopy() *OutboundHeaderSourcePortRangesInitParameters { + if in == nil { + return nil } - return nil + out := new(OutboundHeaderSourcePortRangesInitParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { +func (in *OutboundHeaderSourcePortRangesObservation) DeepCopyInto(out *OutboundHeaderSourcePortRangesObservation) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) + if in.From != nil { + in, out := &in.From, &out.From + *out = new(float64) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) + if in.To != nil { + in, out := &in.To, &out.To + *out = new(float64) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesObservation. +func (in *OutboundHeaderSourcePortRangesObservation) DeepCopy() *OutboundHeaderSourcePortRangesObservation { + if in == nil { + return nil } + out := new(OutboundHeaderSourcePortRangesObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. -func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundHeaderSourcePortRangesParameters) DeepCopyInto(out *OutboundHeaderSourcePortRangesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesParameters. +func (in *OutboundHeaderSourcePortRangesParameters) DeepCopy() *OutboundHeaderSourcePortRangesParameters { if in == nil { return nil } - out := new(NetworkInterfaceObservation) + out := new(OutboundHeaderSourcePortRangesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceObservation_2) DeepCopyInto(out *NetworkInterfaceObservation_2) { +func (in *OverrideInitParameters) DeepCopyInto(out *OverrideInitParameters) { *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone *out = new(string) **out = **in } - if in.Attachment != nil { - in, out := &in.Attachment, &out.Attachment - *out = make([]AttachmentObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.InstanceRequirements != nil { + in, out := &in.InstanceRequirements, &out.InstanceRequirements + *out = new(OverrideInstanceRequirementsInitParameters) + (*in).DeepCopyInto(*out) } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType *out = new(string) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice *out = new(string) **out = **in } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + if in.Priority != nil { + in, out := &in.Priority, &out.Priority *out = new(float64) **out = **in } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + if in.WeightedCapacity != nil { + in, out := &in.WeightedCapacity, &out.WeightedCapacity *out = new(float64) **out = **in } - if in.IPv6AddressList != nil { - in, out := &in.IPv6AddressList, &out.IPv6AddressList - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInitParameters. +func (in *OverrideInitParameters) DeepCopy() *OverrideInitParameters { + if in == nil { + return nil } - if in.IPv6AddressListEnabled != nil { - in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled - *out = new(bool) + out := new(OverrideInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorCountInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorCountInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorCountInitParameters. +func (in *OverrideInstanceRequirementsAcceleratorCountInitParameters) DeepCopy() *OverrideInstanceRequirementsAcceleratorCountInitParameters { + if in == nil { + return nil } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType - *out = new(string) + out := new(OverrideInstanceRequirementsAcceleratorCountInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorCountObservation) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorCountObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.MacAddress != nil { - in, out := &in.MacAddress, &out.MacAddress - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.OutpostArn != nil { - in, out := &in.OutpostArn, &out.OutpostArn - *out = new(string) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorCountObservation. +func (in *OverrideInstanceRequirementsAcceleratorCountObservation) DeepCopy() *OverrideInstanceRequirementsAcceleratorCountObservation { + if in == nil { + return nil + } + out := new(OverrideInstanceRequirementsAcceleratorCountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorCountParameters) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorCountParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.OwnerID != nil { - in, out := &in.OwnerID, &out.OwnerID - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorCountParameters. +func (in *OverrideInstanceRequirementsAcceleratorCountParameters) DeepCopy() *OverrideInstanceRequirementsAcceleratorCountParameters { + if in == nil { + return nil } - if in.PrivateDNSName != nil { - in, out := &in.PrivateDNSName, &out.PrivateDNSName - *out = new(string) + out := new(OverrideInstanceRequirementsAcceleratorCountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.PrivateIPList != nil { - in, out := &in.PrivateIPList, &out.PrivateIPList - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters) DeepCopy() *OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters { + if in == nil { + return nil } - if in.PrivateIPListEnabled != nil { - in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled - *out = new(bool) + out := new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.PrivateIps != nil { - in, out := &in.PrivateIps, &out.PrivateIps - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.PrivateIpsCount != nil { - in, out := &in.PrivateIpsCount, &out.PrivateIpsCount + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation) DeepCopy() *OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation { + if in == nil { + return nil } - if in.SourceDestCheck != nil { - in, out := &in.SourceDestCheck, &out.SourceDestCheck - *out = new(bool) + out := new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopyInto(out *OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters. +func (in *OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters) DeepCopy() *OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters { + if in == nil { + return nil } - if in.TagsAll != nil { - in, out := &in.TagsAll, &out.TagsAll - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } + out := new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation_2. -func (in *NetworkInterfaceObservation_2) DeepCopy() *NetworkInterfaceObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters. +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) DeepCopy() *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceObservation_2) + out := new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopyInto(out *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation) { *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. -func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation. +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation) DeepCopy() *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation { if in == nil { return nil } - out := new(NetworkInterfaceParameters) + out := new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParameters_2) { +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopyInto(out *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters. +func (in *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters) DeepCopy() *OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters { + if in == nil { + return nil + } + out := new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsInitParameters) { + *out = *in + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = new(OverrideInstanceRequirementsAcceleratorCountInitParameters) + (*in).DeepCopyInto(*out) + } + if in.AcceleratorManufacturers != nil { + in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25131,13 +27824,8 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount - *out = new(float64) - **out = **in - } - if in.IPv6AddressList != nil { - in, out := &in.IPv6AddressList, &out.IPv6AddressList + if in.AcceleratorNames != nil { + in, out := &in.AcceleratorNames, &out.AcceleratorNames *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25147,13 +27835,13 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.IPv6AddressListEnabled != nil { - in, out := &in.IPv6AddressListEnabled, &out.IPv6AddressListEnabled - *out = new(bool) - **out = **in + if in.AcceleratorTotalMemoryMib != nil { + in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib + *out = new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibInitParameters) + (*in).DeepCopyInto(*out) } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25163,13 +27851,45 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount - *out = new(float64) + if in.AllowedInstanceTypes != nil { + in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BareMetal != nil { + in, out := &in.BareMetal, &out.BareMetal + *out = new(string) **out = **in } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + if in.BaselineEBSBandwidthMbps != nil { + in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps + *out = new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsInitParameters) + (*in).DeepCopyInto(*out) + } + if in.BurstablePerformance != nil { + in, out := &in.BurstablePerformance, &out.BurstablePerformance + *out = new(string) + **out = **in + } + if in.CPUManufacturers != nil { + in, out := &in.CPUManufacturers, &out.CPUManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExcludedInstanceTypes != nil { + in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25179,18 +27899,8 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType - *out = new(string) - **out = **in - } - if in.PrivateIP != nil { - in, out := &in.PrivateIP, &out.PrivateIP - *out = new(string) - **out = **in - } - if in.PrivateIPList != nil { - in, out := &in.PrivateIPList, &out.PrivateIPList + if in.InstanceGenerations != nil { + in, out := &in.InstanceGenerations, &out.InstanceGenerations *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25200,13 +27910,13 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.PrivateIPListEnabled != nil { - in, out := &in.PrivateIPListEnabled, &out.PrivateIPListEnabled - *out = new(bool) + if in.LocalStorage != nil { + in, out := &in.LocalStorage, &out.LocalStorage + *out = new(string) **out = **in } - if in.PrivateIps != nil { - in, out := &in.PrivateIps, &out.PrivateIps + if in.LocalStorageTypes != nil { + in, out := &in.LocalStorageTypes, &out.LocalStorageTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25216,553 +27926,373 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame } } } - if in.PrivateIpsCount != nil { - in, out := &in.PrivateIpsCount, &out.PrivateIpsCount - *out = new(float64) - **out = **in + if in.MemoryGibPerVcpu != nil { + in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu + *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) + (*in).DeepCopyInto(*out) } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.MemoryMib != nil { + in, out := &in.MemoryMib, &out.MemoryMib + *out = new(OverrideInstanceRequirementsMemoryMibInitParameters) + (*in).DeepCopyInto(*out) } - if in.SecurityGroupRefs != nil { - in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.NetworkBandwidthGbps != nil { + in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps + *out = new(OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters) + (*in).DeepCopyInto(*out) } - if in.SecurityGroupSelector != nil { - in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector - *out = new(v1.Selector) + if in.NetworkInterfaceCount != nil { + in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount + *out = new(OverrideInstanceRequirementsNetworkInterfaceCountInitParameters) (*in).DeepCopyInto(*out) } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.OnDemandMaxPricePercentageOverLowestPrice != nil { + in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice + *out = new(float64) + **out = **in } - if in.SourceDestCheck != nil { - in, out := &in.SourceDestCheck, &out.SourceDestCheck + if in.RequireHibernateSupport != nil { + in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport *out = new(bool) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) + if in.SpotMaxPricePercentageOverLowestPrice != nil { + in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) + if in.TotalLocalStorageGb != nil { + in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb + *out = new(OverrideInstanceRequirementsTotalLocalStorageGbInitParameters) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) + if in.VcpuCount != nil { + in, out := &in.VcpuCount, &out.VcpuCount + *out = new(OverrideInstanceRequirementsVcpuCountInitParameters) (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - inVal := (*in)[key] - in, out := &inVal, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters_2. -func (in *NetworkInterfaceParameters_2) DeepCopy() *NetworkInterfaceParameters_2 { - if in == nil { - return nil - } - out := new(NetworkInterfaceParameters_2) - in.DeepCopyInto(out) - return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachment) DeepCopyInto(out *NetworkInterfaceSgAttachment) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachment. -func (in *NetworkInterfaceSgAttachment) DeepCopy() *NetworkInterfaceSgAttachment { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsInitParameters. +func (in *OverrideInstanceRequirementsInitParameters) DeepCopy() *OverrideInstanceRequirementsInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachment) + out := new(OverrideInstanceRequirementsInitParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterfaceSgAttachment) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentInitParameters) DeepCopyInto(out *NetworkInterfaceSgAttachmentInitParameters) { +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) { *out = *in - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } - if in.SecurityGroupIDRef != nil { - in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroupIDSelector != nil { - in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentInitParameters. -func (in *NetworkInterfaceSgAttachmentInitParameters) DeepCopy() *NetworkInterfaceSgAttachmentInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters. +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) DeepCopy() *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentInitParameters) + out := new(OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentList) DeepCopyInto(out *NetworkInterfaceSgAttachmentList) { +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuObservation) DeepCopyInto(out *OverrideInstanceRequirementsMemoryGibPerVcpuObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]NetworkInterfaceSgAttachment, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentList. -func (in *NetworkInterfaceSgAttachmentList) DeepCopy() *NetworkInterfaceSgAttachmentList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryGibPerVcpuObservation. +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuObservation) DeepCopy() *OverrideInstanceRequirementsMemoryGibPerVcpuObservation { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentList) + out := new(OverrideInstanceRequirementsMemoryGibPerVcpuObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NetworkInterfaceSgAttachmentList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentObservation) DeepCopyInto(out *NetworkInterfaceSgAttachmentObservation) { +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuParameters) DeepCopyInto(out *OverrideInstanceRequirementsMemoryGibPerVcpuParameters) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentObservation. -func (in *NetworkInterfaceSgAttachmentObservation) DeepCopy() *NetworkInterfaceSgAttachmentObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryGibPerVcpuParameters. +func (in *OverrideInstanceRequirementsMemoryGibPerVcpuParameters) DeepCopy() *OverrideInstanceRequirementsMemoryGibPerVcpuParameters { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentObservation) + out := new(OverrideInstanceRequirementsMemoryGibPerVcpuParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentParameters) DeepCopyInto(out *NetworkInterfaceSgAttachmentParameters) { +func (in *OverrideInstanceRequirementsMemoryMibInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsMemoryMibInitParameters) { *out = *in - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) - **out = **in - } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.SecurityGroupID != nil { - in, out := &in.SecurityGroupID, &out.SecurityGroupID - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.SecurityGroupIDRef != nil { - in, out := &in.SecurityGroupIDRef, &out.SecurityGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroupIDSelector != nil { - in, out := &in.SecurityGroupIDSelector, &out.SecurityGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentParameters. -func (in *NetworkInterfaceSgAttachmentParameters) DeepCopy() *NetworkInterfaceSgAttachmentParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryMibInitParameters. +func (in *OverrideInstanceRequirementsMemoryMibInitParameters) DeepCopy() *OverrideInstanceRequirementsMemoryMibInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentParameters) + out := new(OverrideInstanceRequirementsMemoryMibInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentSpec) DeepCopyInto(out *NetworkInterfaceSgAttachmentSpec) { +func (in *OverrideInstanceRequirementsMemoryMibObservation) DeepCopyInto(out *OverrideInstanceRequirementsMemoryMibObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentSpec. -func (in *NetworkInterfaceSgAttachmentSpec) DeepCopy() *NetworkInterfaceSgAttachmentSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryMibObservation. +func (in *OverrideInstanceRequirementsMemoryMibObservation) DeepCopy() *OverrideInstanceRequirementsMemoryMibObservation { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentSpec) + out := new(OverrideInstanceRequirementsMemoryMibObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSgAttachmentStatus) DeepCopyInto(out *NetworkInterfaceSgAttachmentStatus) { +func (in *OverrideInstanceRequirementsMemoryMibParameters) DeepCopyInto(out *OverrideInstanceRequirementsMemoryMibParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSgAttachmentStatus. -func (in *NetworkInterfaceSgAttachmentStatus) DeepCopy() *NetworkInterfaceSgAttachmentStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsMemoryMibParameters. +func (in *OverrideInstanceRequirementsMemoryMibParameters) DeepCopy() *OverrideInstanceRequirementsMemoryMibParameters { if in == nil { return nil } - out := new(NetworkInterfaceSgAttachmentStatus) + out := new(OverrideInstanceRequirementsMemoryMibParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceSpec) DeepCopyInto(out *NetworkInterfaceSpec) { +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) - in.InitProvider.DeepCopyInto(&out.InitProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSpec. -func (in *NetworkInterfaceSpec) DeepCopy() *NetworkInterfaceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters. +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters) DeepCopy() *OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters { if in == nil { return nil } - out := new(NetworkInterfaceSpec) + out := new(OverrideInstanceRequirementsNetworkBandwidthGbpsInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus) { +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopyInto(out *OverrideInstanceRequirementsNetworkBandwidthGbpsObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus. -func (in *NetworkInterfaceStatus) DeepCopy() *NetworkInterfaceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkBandwidthGbpsObservation. +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsObservation) DeepCopy() *OverrideInstanceRequirementsNetworkBandwidthGbpsObservation { if in == nil { return nil } - out := new(NetworkInterfaceStatus) + out := new(OverrideInstanceRequirementsNetworkBandwidthGbpsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfacesInitParameters) DeepCopyInto(out *NetworkInterfacesInitParameters) { +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopyInto(out *OverrideInstanceRequirementsNetworkBandwidthGbpsParameters) { *out = *in - if in.AssociateCarrierIPAddress != nil { - in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress - *out = new(string) - **out = **in - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(string) - **out = **in - } - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex + if in.Max != nil { + in, out := &in.Max, &out.Max *out = new(float64) **out = **in } - if in.IPv4AddressCount != nil { - in, out := &in.IPv4AddressCount, &out.IPv4AddressCount + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.IPv4Addresses != nil { - in, out := &in.IPv4Addresses, &out.IPv4Addresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkBandwidthGbpsParameters. +func (in *OverrideInstanceRequirementsNetworkBandwidthGbpsParameters) DeepCopy() *OverrideInstanceRequirementsNetworkBandwidthGbpsParameters { + if in == nil { + return nil } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount + out := new(OverrideInstanceRequirementsNetworkBandwidthGbpsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsNetworkInterfaceCountInitParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max *out = new(float64) **out = **in } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkInterfaceCountInitParameters. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountInitParameters) DeepCopy() *OverrideInstanceRequirementsNetworkInterfaceCountInitParameters { + if in == nil { + return nil } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount + out := new(OverrideInstanceRequirementsNetworkInterfaceCountInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountObservation) DeepCopyInto(out *OverrideInstanceRequirementsNetworkInterfaceCountObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max *out = new(float64) **out = **in } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType - *out = new(string) - **out = **in - } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) - **out = **in - } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.PrimaryIPv6 != nil { - in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 - *out = new(string) - **out = **in - } - if in.PrivateIPAddress != nil { - in, out := &in.PrivateIPAddress, &out.PrivateIPAddress - *out = new(string) - **out = **in - } - if in.SecurityGroupRefs != nil { - in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupSelector != nil { - in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) - **out = **in - } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkInterfaceCountObservation. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountObservation) DeepCopy() *OverrideInstanceRequirementsNetworkInterfaceCountObservation { + if in == nil { + return nil } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + out := new(OverrideInstanceRequirementsNetworkInterfaceCountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountParameters) DeepCopyInto(out *OverrideInstanceRequirementsNetworkInterfaceCountParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesInitParameters. -func (in *NetworkInterfacesInitParameters) DeepCopy() *NetworkInterfacesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsNetworkInterfaceCountParameters. +func (in *OverrideInstanceRequirementsNetworkInterfaceCountParameters) DeepCopy() *OverrideInstanceRequirementsNetworkInterfaceCountParameters { if in == nil { return nil } - out := new(NetworkInterfacesInitParameters) + out := new(OverrideInstanceRequirementsNetworkInterfaceCountParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObservation) { +func (in *OverrideInstanceRequirementsObservation) DeepCopyInto(out *OverrideInstanceRequirementsObservation) { *out = *in - if in.AssociateCarrierIPAddress != nil { - in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress - *out = new(string) - **out = **in - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(string) - **out = **in - } - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(string) - **out = **in - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) - **out = **in - } - if in.IPv4AddressCount != nil { - in, out := &in.IPv4AddressCount, &out.IPv4AddressCount - *out = new(float64) - **out = **in + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = new(OverrideInstanceRequirementsAcceleratorCountObservation) + (*in).DeepCopyInto(*out) } - if in.IPv4Addresses != nil { - in, out := &in.IPv4Addresses, &out.IPv4Addresses + if in.AcceleratorManufacturers != nil { + in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25772,13 +28302,8 @@ func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObser } } } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount - *out = new(float64) - **out = **in - } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + if in.AcceleratorNames != nil { + in, out := &in.AcceleratorNames, &out.AcceleratorNames *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25788,13 +28313,13 @@ func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObser } } } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount - *out = new(float64) - **out = **in + if in.AcceleratorTotalMemoryMib != nil { + in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib + *out = new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibObservation) + (*in).DeepCopyInto(*out) } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25804,13 +28329,8 @@ func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObser } } } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount - *out = new(float64) - **out = **in - } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + if in.AllowedInstanceTypes != nil { + in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25820,33 +28340,61 @@ func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObser } } } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType + if in.BareMetal != nil { + in, out := &in.BareMetal, &out.BareMetal *out = new(string) **out = **in } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex - *out = new(float64) - **out = **in + if in.BaselineEBSBandwidthMbps != nil { + in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps + *out = new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsObservation) + (*in).DeepCopyInto(*out) } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + if in.BurstablePerformance != nil { + in, out := &in.BurstablePerformance, &out.BurstablePerformance *out = new(string) **out = **in } - if in.PrimaryIPv6 != nil { - in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 - *out = new(string) - **out = **in + if in.CPUManufacturers != nil { + in, out := &in.CPUManufacturers, &out.CPUManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.PrivateIPAddress != nil { - in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + if in.ExcludedInstanceTypes != nil { + in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InstanceGenerations != nil { + in, out := &in.InstanceGenerations, &out.InstanceGenerations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LocalStorage != nil { + in, out := &in.LocalStorage, &out.LocalStorage *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.LocalStorageTypes != nil { + in, out := &in.LocalStorageTypes, &out.LocalStorageTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25856,58 +28404,111 @@ func (in *NetworkInterfacesObservation) DeepCopyInto(out *NetworkInterfacesObser } } } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) + if in.MemoryGibPerVcpu != nil { + in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu + *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuObservation) + (*in).DeepCopyInto(*out) + } + if in.MemoryMib != nil { + in, out := &in.MemoryMib, &out.MemoryMib + *out = new(OverrideInstanceRequirementsMemoryMibObservation) + (*in).DeepCopyInto(*out) + } + if in.NetworkBandwidthGbps != nil { + in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps + *out = new(OverrideInstanceRequirementsNetworkBandwidthGbpsObservation) + (*in).DeepCopyInto(*out) + } + if in.NetworkInterfaceCount != nil { + in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount + *out = new(OverrideInstanceRequirementsNetworkInterfaceCountObservation) + (*in).DeepCopyInto(*out) + } + if in.OnDemandMaxPricePercentageOverLowestPrice != nil { + in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice + *out = new(float64) + **out = **in + } + if in.RequireHibernateSupport != nil { + in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport + *out = new(bool) + **out = **in + } + if in.SpotMaxPricePercentageOverLowestPrice != nil { + in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } + if in.TotalLocalStorageGb != nil { + in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb + *out = new(OverrideInstanceRequirementsTotalLocalStorageGbObservation) + (*in).DeepCopyInto(*out) + } + if in.VcpuCount != nil { + in, out := &in.VcpuCount, &out.VcpuCount + *out = new(OverrideInstanceRequirementsVcpuCountObservation) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesObservation. -func (in *NetworkInterfacesObservation) DeepCopy() *NetworkInterfacesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsObservation. +func (in *OverrideInstanceRequirementsObservation) DeepCopy() *OverrideInstanceRequirementsObservation { if in == nil { return nil } - out := new(NetworkInterfacesObservation) + out := new(OverrideInstanceRequirementsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParameters) { +func (in *OverrideInstanceRequirementsParameters) DeepCopyInto(out *OverrideInstanceRequirementsParameters) { *out = *in - if in.AssociateCarrierIPAddress != nil { - in, out := &in.AssociateCarrierIPAddress, &out.AssociateCarrierIPAddress - *out = new(string) - **out = **in - } - if in.AssociatePublicIPAddress != nil { - in, out := &in.AssociatePublicIPAddress, &out.AssociatePublicIPAddress - *out = new(string) - **out = **in + if in.AcceleratorCount != nil { + in, out := &in.AcceleratorCount, &out.AcceleratorCount + *out = new(OverrideInstanceRequirementsAcceleratorCountParameters) + (*in).DeepCopyInto(*out) } - if in.DeleteOnTermination != nil { - in, out := &in.DeleteOnTermination, &out.DeleteOnTermination - *out = new(string) - **out = **in + if in.AcceleratorManufacturers != nil { + in, out := &in.AcceleratorManufacturers, &out.AcceleratorManufacturers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + if in.AcceleratorNames != nil { + in, out := &in.AcceleratorNames, &out.AcceleratorNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.DeviceIndex != nil { - in, out := &in.DeviceIndex, &out.DeviceIndex - *out = new(float64) - **out = **in + if in.AcceleratorTotalMemoryMib != nil { + in, out := &in.AcceleratorTotalMemoryMib, &out.AcceleratorTotalMemoryMib + *out = new(OverrideInstanceRequirementsAcceleratorTotalMemoryMibParameters) + (*in).DeepCopyInto(*out) } - if in.IPv4AddressCount != nil { - in, out := &in.IPv4AddressCount, &out.IPv4AddressCount - *out = new(float64) - **out = **in + if in.AcceleratorTypes != nil { + in, out := &in.AcceleratorTypes, &out.AcceleratorTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IPv4Addresses != nil { - in, out := &in.IPv4Addresses, &out.IPv4Addresses + if in.AllowedInstanceTypes != nil { + in, out := &in.AllowedInstanceTypes, &out.AllowedInstanceTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25917,13 +28518,23 @@ func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParame } } } - if in.IPv4PrefixCount != nil { - in, out := &in.IPv4PrefixCount, &out.IPv4PrefixCount - *out = new(float64) + if in.BareMetal != nil { + in, out := &in.BareMetal, &out.BareMetal + *out = new(string) + **out = **in + } + if in.BaselineEBSBandwidthMbps != nil { + in, out := &in.BaselineEBSBandwidthMbps, &out.BaselineEBSBandwidthMbps + *out = new(OverrideInstanceRequirementsBaselineEBSBandwidthMbpsParameters) + (*in).DeepCopyInto(*out) + } + if in.BurstablePerformance != nil { + in, out := &in.BurstablePerformance, &out.BurstablePerformance + *out = new(string) **out = **in } - if in.IPv4Prefixes != nil { - in, out := &in.IPv4Prefixes, &out.IPv4Prefixes + if in.CPUManufacturers != nil { + in, out := &in.CPUManufacturers, &out.CPUManufacturers *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25933,13 +28544,8 @@ func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParame } } } - if in.IPv6AddressCount != nil { - in, out := &in.IPv6AddressCount, &out.IPv6AddressCount - *out = new(float64) - **out = **in - } - if in.IPv6Addresses != nil { - in, out := &in.IPv6Addresses, &out.IPv6Addresses + if in.ExcludedInstanceTypes != nil { + in, out := &in.ExcludedInstanceTypes, &out.ExcludedInstanceTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25949,13 +28555,8 @@ func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParame } } } - if in.IPv6PrefixCount != nil { - in, out := &in.IPv6PrefixCount, &out.IPv6PrefixCount - *out = new(float64) - **out = **in - } - if in.IPv6Prefixes != nil { - in, out := &in.IPv6Prefixes, &out.IPv6Prefixes + if in.InstanceGenerations != nil { + in, out := &in.InstanceGenerations, &out.InstanceGenerations *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -25965,55 +28566,13 @@ func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParame } } } - if in.InterfaceType != nil { - in, out := &in.InterfaceType, &out.InterfaceType - *out = new(string) - **out = **in - } - if in.NetworkCardIndex != nil { - in, out := &in.NetworkCardIndex, &out.NetworkCardIndex - *out = new(float64) - **out = **in - } - if in.NetworkInterfaceID != nil { - in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID - *out = new(string) - **out = **in - } - if in.NetworkInterfaceIDRef != nil { - in, out := &in.NetworkInterfaceIDRef, &out.NetworkInterfaceIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.NetworkInterfaceIDSelector != nil { - in, out := &in.NetworkInterfaceIDSelector, &out.NetworkInterfaceIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.PrimaryIPv6 != nil { - in, out := &in.PrimaryIPv6, &out.PrimaryIPv6 - *out = new(string) - **out = **in - } - if in.PrivateIPAddress != nil { - in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + if in.LocalStorage != nil { + in, out := &in.LocalStorage, &out.LocalStorage *out = new(string) **out = **in } - if in.SecurityGroupRefs != nil { - in, out := &in.SecurityGroupRefs, &out.SecurityGroupRefs - *out = make([]v1.Reference, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecurityGroupSelector != nil { - in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups + if in.LocalStorageTypes != nil { + in, out := &in.LocalStorageTypes, &out.LocalStorageTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -26023,345 +28582,309 @@ func (in *NetworkInterfacesParameters) DeepCopyInto(out *NetworkInterfacesParame } } } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) - **out = **in + if in.MemoryGibPerVcpu != nil { + in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu + *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuParameters) + (*in).DeepCopyInto(*out) } - if in.SubnetIDRef != nil { - in, out := &in.SubnetIDRef, &out.SubnetIDRef - *out = new(v1.Reference) + if in.MemoryMib != nil { + in, out := &in.MemoryMib, &out.MemoryMib + *out = new(OverrideInstanceRequirementsMemoryMibParameters) (*in).DeepCopyInto(*out) } - if in.SubnetIDSelector != nil { - in, out := &in.SubnetIDSelector, &out.SubnetIDSelector - *out = new(v1.Selector) + if in.NetworkBandwidthGbps != nil { + in, out := &in.NetworkBandwidthGbps, &out.NetworkBandwidthGbps + *out = new(OverrideInstanceRequirementsNetworkBandwidthGbpsParameters) (*in).DeepCopyInto(*out) } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfacesParameters. -func (in *NetworkInterfacesParameters) DeepCopy() *NetworkInterfacesParameters { - if in == nil { - return nil + if in.NetworkInterfaceCount != nil { + in, out := &in.NetworkInterfaceCount, &out.NetworkInterfaceCount + *out = new(OverrideInstanceRequirementsNetworkInterfaceCountParameters) + (*in).DeepCopyInto(*out) } - out := new(NetworkInterfacesParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OperatingRegionsInitParameters) DeepCopyInto(out *OperatingRegionsInitParameters) { - *out = *in - if in.RegionName != nil { - in, out := &in.RegionName, &out.RegionName - *out = new(string) + if in.OnDemandMaxPricePercentageOverLowestPrice != nil { + in, out := &in.OnDemandMaxPricePercentageOverLowestPrice, &out.OnDemandMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsInitParameters. -func (in *OperatingRegionsInitParameters) DeepCopy() *OperatingRegionsInitParameters { - if in == nil { - return nil - } - out := new(OperatingRegionsInitParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OperatingRegionsObservation) DeepCopyInto(out *OperatingRegionsObservation) { - *out = *in - if in.RegionName != nil { - in, out := &in.RegionName, &out.RegionName - *out = new(string) + if in.RequireHibernateSupport != nil { + in, out := &in.RequireHibernateSupport, &out.RequireHibernateSupport + *out = new(bool) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsObservation. -func (in *OperatingRegionsObservation) DeepCopy() *OperatingRegionsObservation { - if in == nil { - return nil - } - out := new(OperatingRegionsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OperatingRegionsParameters) DeepCopyInto(out *OperatingRegionsParameters) { - *out = *in - if in.RegionName != nil { - in, out := &in.RegionName, &out.RegionName - *out = new(string) + if in.SpotMaxPricePercentageOverLowestPrice != nil { + in, out := &in.SpotMaxPricePercentageOverLowestPrice, &out.SpotMaxPricePercentageOverLowestPrice + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingRegionsParameters. -func (in *OperatingRegionsParameters) DeepCopy() *OperatingRegionsParameters { - if in == nil { - return nil + if in.TotalLocalStorageGb != nil { + in, out := &in.TotalLocalStorageGb, &out.TotalLocalStorageGb + *out = new(OverrideInstanceRequirementsTotalLocalStorageGbParameters) + (*in).DeepCopyInto(*out) } - out := new(OperatingRegionsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters) { - *out = *in - if in.DynamicRouting != nil { - in, out := &in.DynamicRouting, &out.DynamicRouting - *out = new(string) - **out = **in + if in.VcpuCount != nil { + in, out := &in.VcpuCount, &out.VcpuCount + *out = new(OverrideInstanceRequirementsVcpuCountParameters) + (*in).DeepCopyInto(*out) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsInitParameters. -func (in *OptionsInitParameters) DeepCopy() *OptionsInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsParameters. +func (in *OverrideInstanceRequirementsParameters) DeepCopy() *OverrideInstanceRequirementsParameters { if in == nil { return nil } - out := new(OptionsInitParameters) + out := new(OverrideInstanceRequirementsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation) { +func (in *OverrideInstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsTotalLocalStorageGbInitParameters) { *out = *in - if in.DynamicRouting != nil { - in, out := &in.DynamicRouting, &out.DynamicRouting - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsObservation. -func (in *OptionsObservation) DeepCopy() *OptionsObservation { - if in == nil { - return nil - } - out := new(OptionsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters) { - *out = *in - if in.DynamicRouting != nil { - in, out := &in.DynamicRouting, &out.DynamicRouting - *out = new(string) + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionsParameters. -func (in *OptionsParameters) DeepCopy() *OptionsParameters { - if in == nil { - return nil - } - out := new(OptionsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderDestinationPortRangesInitParameters) DeepCopyInto(out *OutboundHeaderDestinationPortRangesInitParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesInitParameters. -func (in *OutboundHeaderDestinationPortRangesInitParameters) DeepCopy() *OutboundHeaderDestinationPortRangesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsTotalLocalStorageGbInitParameters. +func (in *OverrideInstanceRequirementsTotalLocalStorageGbInitParameters) DeepCopy() *OverrideInstanceRequirementsTotalLocalStorageGbInitParameters { if in == nil { return nil } - out := new(OutboundHeaderDestinationPortRangesInitParameters) + out := new(OverrideInstanceRequirementsTotalLocalStorageGbInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderDestinationPortRangesObservation) DeepCopyInto(out *OutboundHeaderDestinationPortRangesObservation) { +func (in *OverrideInstanceRequirementsTotalLocalStorageGbObservation) DeepCopyInto(out *OverrideInstanceRequirementsTotalLocalStorageGbObservation) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From + if in.Max != nil { + in, out := &in.Max, &out.Max *out = new(float64) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To + if in.Min != nil { + in, out := &in.Min, &out.Min *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesObservation. -func (in *OutboundHeaderDestinationPortRangesObservation) DeepCopy() *OutboundHeaderDestinationPortRangesObservation { - if in == nil { - return nil - } - out := new(OutboundHeaderDestinationPortRangesObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderDestinationPortRangesParameters) DeepCopyInto(out *OutboundHeaderDestinationPortRangesParameters) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderDestinationPortRangesParameters. -func (in *OutboundHeaderDestinationPortRangesParameters) DeepCopy() *OutboundHeaderDestinationPortRangesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsTotalLocalStorageGbObservation. +func (in *OverrideInstanceRequirementsTotalLocalStorageGbObservation) DeepCopy() *OverrideInstanceRequirementsTotalLocalStorageGbObservation { if in == nil { return nil } - out := new(OutboundHeaderDestinationPortRangesParameters) + out := new(OverrideInstanceRequirementsTotalLocalStorageGbObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderInitParameters) DeepCopyInto(out *OutboundHeaderInitParameters) { +func (in *OverrideInstanceRequirementsTotalLocalStorageGbParameters) DeepCopyInto(out *OverrideInstanceRequirementsTotalLocalStorageGbParameters) { *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderInitParameters. -func (in *OutboundHeaderInitParameters) DeepCopy() *OutboundHeaderInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsTotalLocalStorageGbParameters. +func (in *OverrideInstanceRequirementsTotalLocalStorageGbParameters) DeepCopy() *OverrideInstanceRequirementsTotalLocalStorageGbParameters { if in == nil { return nil } - out := new(OutboundHeaderInitParameters) + out := new(OverrideInstanceRequirementsTotalLocalStorageGbParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderObservation) DeepCopyInto(out *OutboundHeaderObservation) { +func (in *OverrideInstanceRequirementsVcpuCountInitParameters) DeepCopyInto(out *OverrideInstanceRequirementsVcpuCountInitParameters) { *out = *in - if in.DestinationAddresses != nil { - in, out := &in.DestinationAddresses, &out.DestinationAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.DestinationPortRanges != nil { - in, out := &in.DestinationPortRanges, &out.DestinationPortRanges - *out = make([]OutboundHeaderDestinationPortRangesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Protocol != nil { - in, out := &in.Protocol, &out.Protocol - *out = new(string) + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) **out = **in } - if in.SourceAddresses != nil { - in, out := &in.SourceAddresses, &out.SourceAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.SourcePortRanges != nil { - in, out := &in.SourcePortRanges, &out.SourcePortRanges - *out = make([]OutboundHeaderSourcePortRangesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderObservation. -func (in *OutboundHeaderObservation) DeepCopy() *OutboundHeaderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsVcpuCountInitParameters. +func (in *OverrideInstanceRequirementsVcpuCountInitParameters) DeepCopy() *OverrideInstanceRequirementsVcpuCountInitParameters { if in == nil { return nil } - out := new(OutboundHeaderObservation) + out := new(OverrideInstanceRequirementsVcpuCountInitParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderParameters) DeepCopyInto(out *OutboundHeaderParameters) { +func (in *OverrideInstanceRequirementsVcpuCountObservation) DeepCopyInto(out *OverrideInstanceRequirementsVcpuCountObservation) { *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderParameters. -func (in *OutboundHeaderParameters) DeepCopy() *OutboundHeaderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsVcpuCountObservation. +func (in *OverrideInstanceRequirementsVcpuCountObservation) DeepCopy() *OverrideInstanceRequirementsVcpuCountObservation { if in == nil { return nil } - out := new(OutboundHeaderParameters) + out := new(OverrideInstanceRequirementsVcpuCountObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderSourcePortRangesInitParameters) DeepCopyInto(out *OutboundHeaderSourcePortRangesInitParameters) { +func (in *OverrideInstanceRequirementsVcpuCountParameters) DeepCopyInto(out *OverrideInstanceRequirementsVcpuCountParameters) { *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesInitParameters. -func (in *OutboundHeaderSourcePortRangesInitParameters) DeepCopy() *OutboundHeaderSourcePortRangesInitParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideInstanceRequirementsVcpuCountParameters. +func (in *OverrideInstanceRequirementsVcpuCountParameters) DeepCopy() *OverrideInstanceRequirementsVcpuCountParameters { if in == nil { return nil } - out := new(OutboundHeaderSourcePortRangesInitParameters) + out := new(OverrideInstanceRequirementsVcpuCountParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderSourcePortRangesObservation) DeepCopyInto(out *OutboundHeaderSourcePortRangesObservation) { +func (in *OverrideObservation) DeepCopyInto(out *OverrideObservation) { *out = *in - if in.From != nil { - in, out := &in.From, &out.From + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.InstanceRequirements != nil { + in, out := &in.InstanceRequirements, &out.InstanceRequirements + *out = new(OverrideInstanceRequirementsObservation) + (*in).DeepCopyInto(*out) + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority *out = new(float64) **out = **in } - if in.To != nil { - in, out := &in.To, &out.To + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.WeightedCapacity != nil { + in, out := &in.WeightedCapacity, &out.WeightedCapacity *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesObservation. -func (in *OutboundHeaderSourcePortRangesObservation) DeepCopy() *OutboundHeaderSourcePortRangesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideObservation. +func (in *OverrideObservation) DeepCopy() *OverrideObservation { if in == nil { return nil } - out := new(OutboundHeaderSourcePortRangesObservation) + out := new(OverrideObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OutboundHeaderSourcePortRangesParameters) DeepCopyInto(out *OutboundHeaderSourcePortRangesParameters) { +func (in *OverrideParameters) DeepCopyInto(out *OverrideParameters) { *out = *in + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.InstanceRequirements != nil { + in, out := &in.InstanceRequirements, &out.InstanceRequirements + *out = new(OverrideInstanceRequirementsParameters) + (*in).DeepCopyInto(*out) + } + if in.InstanceType != nil { + in, out := &in.InstanceType, &out.InstanceType + *out = new(string) + **out = **in + } + if in.MaxPrice != nil { + in, out := &in.MaxPrice, &out.MaxPrice + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(float64) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.WeightedCapacity != nil { + in, out := &in.WeightedCapacity, &out.WeightedCapacity + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundHeaderSourcePortRangesParameters. -func (in *OutboundHeaderSourcePortRangesParameters) DeepCopy() *OutboundHeaderSourcePortRangesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideParameters. +func (in *OverrideParameters) DeepCopy() *OverrideParameters { if in == nil { return nil } - out := new(OutboundHeaderSourcePortRangesParameters) + out := new(OverrideParameters) in.DeepCopyInto(out) return out } @@ -38890,6 +41413,126 @@ func (in *TagStatus) DeepCopy() *TagStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TargetCapacitySpecificationInitParameters) DeepCopyInto(out *TargetCapacitySpecificationInitParameters) { + *out = *in + if in.DefaultTargetCapacityType != nil { + in, out := &in.DefaultTargetCapacityType, &out.DefaultTargetCapacityType + *out = new(string) + **out = **in + } + if in.OnDemandTargetCapacity != nil { + in, out := &in.OnDemandTargetCapacity, &out.OnDemandTargetCapacity + *out = new(float64) + **out = **in + } + if in.SpotTargetCapacity != nil { + in, out := &in.SpotTargetCapacity, &out.SpotTargetCapacity + *out = new(float64) + **out = **in + } + if in.TargetCapacityUnitType != nil { + in, out := &in.TargetCapacityUnitType, &out.TargetCapacityUnitType + *out = new(string) + **out = **in + } + if in.TotalTargetCapacity != nil { + in, out := &in.TotalTargetCapacity, &out.TotalTargetCapacity + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetCapacitySpecificationInitParameters. +func (in *TargetCapacitySpecificationInitParameters) DeepCopy() *TargetCapacitySpecificationInitParameters { + if in == nil { + return nil + } + out := new(TargetCapacitySpecificationInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TargetCapacitySpecificationObservation) DeepCopyInto(out *TargetCapacitySpecificationObservation) { + *out = *in + if in.DefaultTargetCapacityType != nil { + in, out := &in.DefaultTargetCapacityType, &out.DefaultTargetCapacityType + *out = new(string) + **out = **in + } + if in.OnDemandTargetCapacity != nil { + in, out := &in.OnDemandTargetCapacity, &out.OnDemandTargetCapacity + *out = new(float64) + **out = **in + } + if in.SpotTargetCapacity != nil { + in, out := &in.SpotTargetCapacity, &out.SpotTargetCapacity + *out = new(float64) + **out = **in + } + if in.TargetCapacityUnitType != nil { + in, out := &in.TargetCapacityUnitType, &out.TargetCapacityUnitType + *out = new(string) + **out = **in + } + if in.TotalTargetCapacity != nil { + in, out := &in.TotalTargetCapacity, &out.TotalTargetCapacity + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetCapacitySpecificationObservation. +func (in *TargetCapacitySpecificationObservation) DeepCopy() *TargetCapacitySpecificationObservation { + if in == nil { + return nil + } + out := new(TargetCapacitySpecificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TargetCapacitySpecificationParameters) DeepCopyInto(out *TargetCapacitySpecificationParameters) { + *out = *in + if in.DefaultTargetCapacityType != nil { + in, out := &in.DefaultTargetCapacityType, &out.DefaultTargetCapacityType + *out = new(string) + **out = **in + } + if in.OnDemandTargetCapacity != nil { + in, out := &in.OnDemandTargetCapacity, &out.OnDemandTargetCapacity + *out = new(float64) + **out = **in + } + if in.SpotTargetCapacity != nil { + in, out := &in.SpotTargetCapacity, &out.SpotTargetCapacity + *out = new(float64) + **out = **in + } + if in.TargetCapacityUnitType != nil { + in, out := &in.TargetCapacityUnitType, &out.TargetCapacityUnitType + *out = new(string) + **out = **in + } + if in.TotalTargetCapacity != nil { + in, out := &in.TotalTargetCapacity, &out.TotalTargetCapacity + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetCapacitySpecificationParameters. +func (in *TargetCapacitySpecificationParameters) DeepCopy() *TargetCapacitySpecificationParameters { + if in == nil { + return nil + } + out := new(TargetCapacitySpecificationParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TotalLocalStorageGbInitParameters) DeepCopyInto(out *TotalLocalStorageGbInitParameters) { *out = *in diff --git a/apis/ec2/v1beta1/zz_generated.managed.go b/apis/ec2/v1beta1/zz_generated.managed.go index 28fe5edd5e..65eb3c4c30 100644 --- a/apis/ec2/v1beta1/zz_generated.managed.go +++ b/apis/ec2/v1beta1/zz_generated.managed.go @@ -1327,6 +1327,66 @@ func (mg *EgressOnlyInternetGateway) SetWriteConnectionSecretToReference(r *xpv1 mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this Fleet. +func (mg *Fleet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Fleet. +func (mg *Fleet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicies of this Fleet. +func (mg *Fleet) GetManagementPolicies() xpv1.ManagementPolicies { + return mg.Spec.ManagementPolicies +} + +// GetProviderConfigReference of this Fleet. +func (mg *Fleet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +// GetPublishConnectionDetailsTo of this Fleet. +func (mg *Fleet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Fleet. +func (mg *Fleet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Fleet. +func (mg *Fleet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Fleet. +func (mg *Fleet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicies of this Fleet. +func (mg *Fleet) SetManagementPolicies(r xpv1.ManagementPolicies) { + mg.Spec.ManagementPolicies = r +} + +// SetProviderConfigReference of this Fleet. +func (mg *Fleet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +// SetPublishConnectionDetailsTo of this Fleet. +func (mg *Fleet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Fleet. +func (mg *Fleet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this FlowLog. func (mg *FlowLog) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/ec2/v1beta1/zz_generated.managedlist.go b/apis/ec2/v1beta1/zz_generated.managedlist.go index 3d59f0598c..bea8012c71 100644 --- a/apis/ec2/v1beta1/zz_generated.managedlist.go +++ b/apis/ec2/v1beta1/zz_generated.managedlist.go @@ -205,6 +205,15 @@ func (l *EgressOnlyInternetGatewayList) GetItems() []resource.Managed { return items } +// GetItems of this FleetList. +func (l *FleetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this FlowLogList. func (l *FlowLogList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/ec2/v1beta1/zz_generated.resolvers.go b/apis/ec2/v1beta1/zz_generated.resolvers.go index e3b1602d17..682a44307c 100644 --- a/apis/ec2/v1beta1/zz_generated.resolvers.go +++ b/apis/ec2/v1beta1/zz_generated.resolvers.go @@ -1092,6 +1092,111 @@ func (mg *EgressOnlyInternetGateway) ResolveReferences(ctx context.Context, c cl return nil } +// ResolveReferences of this Fleet. +func (mg *Fleet) ResolveReferences(ctx context.Context, c client.Reader) error { + var m xpresource.Managed + var l xpresource.ManagedList + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + for i3 := 0; i3 < len(mg.Spec.ForProvider.LaunchTemplateConfig); i3++ { + if mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification != nil { + { + m, l, err = apisresolver.GetManagedResource("ec2.aws.upbound.io", "v1beta2", "LaunchTemplate", "LaunchTemplateList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDRef, + Selector: mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID") + } + mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.ForProvider.LaunchTemplateConfig); i3++ { + if mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification != nil { + { + m, l, err = apisresolver.GetManagedResource("ec2.aws.upbound.io", "v1beta2", "LaunchTemplate", "LaunchTemplateList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version), + Extract: resource.ExtractParamPath("latest_version", true), + Reference: mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionRef, + Selector: mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version") + } + mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchTemplateConfig); i3++ { + if mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification != nil { + { + m, l, err = apisresolver.GetManagedResource("ec2.aws.upbound.io", "v1beta2", "LaunchTemplate", "LaunchTemplateList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID), + Extract: resource.ExtractResourceID(), + Reference: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDRef, + Selector: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID") + } + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateID = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.LaunchTemplateIDRef = rsp.ResolvedReference + + } + } + for i3 := 0; i3 < len(mg.Spec.InitProvider.LaunchTemplateConfig); i3++ { + if mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification != nil { + { + m, l, err = apisresolver.GetManagedResource("ec2.aws.upbound.io", "v1beta2", "LaunchTemplate", "LaunchTemplateList") + if err != nil { + return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") + } + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version), + Extract: resource.ExtractParamPath("latest_version", true), + Reference: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionRef, + Selector: mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionSelector, + To: reference.To{List: l, Managed: m}, + }) + } + if err != nil { + return errors.Wrap(err, "mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version") + } + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.Version = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.InitProvider.LaunchTemplateConfig[i3].LaunchTemplateSpecification.VersionRef = rsp.ResolvedReference + + } + } + + return nil +} + // ResolveReferences of this FlowLog. func (mg *FlowLog) ResolveReferences(ctx context.Context, c client.Reader) error { var m xpresource.Managed diff --git a/config/externalname.go b/config/externalname.go index 0d1696433c..1bc4e95326 100644 --- a/config/externalname.go +++ b/config/externalname.go @@ -889,6 +889,8 @@ var TerraformPluginSDKExternalNameConfigs = map[string]config.ExternalName{ "aws_ec2_carrier_gateway": config.IdentifierFromProvider, // aws_ec2_instance_state can be imported by using the instance_id attribute "aws_ec2_instance_state": config.IdentifierFromProvider, + // aws_ec2_fleet can be imported by using the Fleet identifier + "aws_ec2_fleet": config.IdentifierFromProvider, // Network Insights Analyses can be imported using the id "aws_ec2_network_insights_analysis": config.IdentifierFromProvider, // Prefix Lists can be imported using the id diff --git a/config/externalnamenottested.go b/config/externalnamenottested.go index f68fda432d..917964e628 100644 --- a/config/externalnamenottested.go +++ b/config/externalnamenottested.go @@ -142,8 +142,6 @@ var ExternalNameNotTestedConfigs = map[string]config.ExternalName{ "aws_ec2_client_vpn_network_association": config.IdentifierFromProvider, // AWS Client VPN routes can be imported using the endpoint ID, target subnet ID, and destination CIDR block. All values are separated by a , "aws_ec2_client_vpn_route": config.TemplatedStringAsIdentifier("", "{{ .parameters.client_vpn_endpoint_id }},{{ .parameters.target_vpc_subnet_id }},{{ .parameters.destination_cidr_block }}"), - // aws_ec2_fleet can be imported by using the Fleet identifier - "aws_ec2_fleet": config.IdentifierFromProvider, // aws_ec2_local_gateway_route can be imported by using the EC2 Local Gateway Route Table identifier and destination CIDR block separated by underscores (_) "aws_ec2_local_gateway_route": config.TemplatedStringAsIdentifier("", "{{ .parameters.local_gateway_route_table_id }}_{{ .parameters.destination_cidr_block }}"), // aws_ec2_local_gateway_route_table_vpc_association can be imported by using the Local Gateway Route Table VPC Association identifier diff --git a/config/generated.lst b/config/generated.lst index a34727f267..3a9fc24d8c 100644 --- a/config/generated.lst +++ b/config/generated.lst @@ -312,6 +312,7 @@ "aws_ec2_availability_zone_group", "aws_ec2_capacity_reservation", "aws_ec2_carrier_gateway", +"aws_ec2_fleet", "aws_ec2_host", "aws_ec2_instance_state", "aws_ec2_managed_prefix_list", diff --git a/examples-generated/ec2/v1beta1/fleet.yaml b/examples-generated/ec2/v1beta1/fleet.yaml new file mode 100644 index 0000000000..adce2a8c3f --- /dev/null +++ b/examples-generated/ec2/v1beta1/fleet.yaml @@ -0,0 +1,22 @@ +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: Fleet +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/fleet + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + launchTemplateConfig: + - launchTemplateSpecification: + - launchTemplateIdSelector: + matchLabels: + testing.upbound.io/example-name: example + versionSelector: + matchLabels: + testing.upbound.io/example-name: example + region: us-west-1 + targetCapacitySpecification: + - defaultTargetCapacityType: spot + totalTargetCapacity: 5 diff --git a/examples/ec2/v1beta1/fleet.yaml b/examples/ec2/v1beta1/fleet.yaml new file mode 100644 index 0000000000..2660d85229 --- /dev/null +++ b/examples/ec2/v1beta1/fleet.yaml @@ -0,0 +1,61 @@ +# SPDX-FileCopyrightText: 2024 The Crossplane Authors +# +# SPDX-License-Identifier: CC0-1.0 + +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: LaunchTemplate +metadata: + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + imageId: ami-074be47313f84fa38 + instanceInitiatedShutdownBehavior: terminate + instanceType: t3.micro + name: example + region: us-west-2 + tags: + example: "true" + tagSpecifications: + - resourceType: instance + tags: + example: "true" + - resourceType: volume + tags: + example: "true" + +--- + +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: Fleet +metadata: + annotations: + meta.upbound.io/example-id: ec2/v1beta1/fleet + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + launchTemplateConfig: + - launchTemplateSpecification: + launchTemplateIdSelector: + matchLabels: + testing.upbound.io/example-name: example + version: "1" + override: + - instanceType: t3.micro + name: example + onDemandOptions: + minTargetCapacity: 1 + singleAvailabilityZone: true + singleInstanceType: true + region: us-west-2 + targetCapacitySpecification: + defaultTargetCapacityType: on-demand + onDemandTargetCapacity: 1 + totalTargetCapacity: 1 + tags: + example: "true" + terminateInstances: true + type: instant diff --git a/internal/controller/ec2/fleet/zz_controller.go b/internal/controller/ec2/fleet/zz_controller.go new file mode 100755 index 0000000000..c51a8782e7 --- /dev/null +++ b/internal/controller/ec2/fleet/zz_controller.go @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: 2024 The Crossplane Authors +// +// SPDX-License-Identifier: Apache-2.0 + +// Code generated by upjet. DO NOT EDIT. + +package fleet + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/crossplane-runtime/pkg/statemetrics" + tjcontroller "github.com/crossplane/upjet/pkg/controller" + "github.com/crossplane/upjet/pkg/controller/handler" + "github.com/crossplane/upjet/pkg/metrics" + "github.com/pkg/errors" + ctrl "sigs.k8s.io/controller-runtime" + + v1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1" + features "github.com/upbound/provider-aws/internal/features" +) + +// Setup adds a controller that reconciles Fleet managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1beta1.Fleet_GroupVersionKind.String()) + var initializers managed.InitializerChain + for _, i := range o.Provider.Resources["aws_ec2_fleet"].InitializerFns { + initializers = append(initializers, i(mgr.GetClient())) + } + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK, connection.WithTLSConfig(o.ESSOptions.TLSConfig))) + } + eventHandler := handler.NewEventHandler(handler.WithLogger(o.Logger.WithValues("gvk", v1beta1.Fleet_GroupVersionKind))) + ac := tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1beta1.Fleet_GroupVersionKind), tjcontroller.WithEventHandler(eventHandler), tjcontroller.WithStatusUpdates(false)) + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter( + tjcontroller.NewTerraformPluginSDKAsyncConnector(mgr.GetClient(), o.OperationTrackerStore, o.SetupFn, o.Provider.Resources["aws_ec2_fleet"], + tjcontroller.WithTerraformPluginSDKAsyncLogger(o.Logger), + tjcontroller.WithTerraformPluginSDKAsyncConnectorEventHandler(eventHandler), + tjcontroller.WithTerraformPluginSDKAsyncCallbackProvider(ac), + tjcontroller.WithTerraformPluginSDKAsyncMetricRecorder(metrics.NewMetricRecorder(v1beta1.Fleet_GroupVersionKind, mgr, o.PollInterval)), + tjcontroller.WithTerraformPluginSDKAsyncManagementPolicies(o.Features.Enabled(features.EnableBetaManagementPolicies)))), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(tjcontroller.NewOperationTrackerFinalizer(o.OperationTrackerStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } + if o.Features.Enabled(features.EnableBetaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + if o.MetricOptions != nil { + opts = append(opts, managed.WithMetricRecorder(o.MetricOptions.MRMetrics)) + } + + // register webhooks for the kind v1beta1.Fleet + // if they're enabled. + if o.StartWebhooks { + if err := ctrl.NewWebhookManagedBy(mgr). + For(&v1beta1.Fleet{}). + Complete(); err != nil { + return errors.Wrap(err, "cannot register webhook for the kind v1beta1.Fleet") + } + } + + if o.MetricOptions != nil && o.MetricOptions.MRStateMetrics != nil { + stateMetricsRecorder := statemetrics.NewMRStateRecorder( + mgr.GetClient(), o.Logger, o.MetricOptions.MRStateMetrics, &v1beta1.FleetList{}, o.MetricOptions.PollStateMetricInterval, + ) + if err := mgr.Add(stateMetricsRecorder); err != nil { + return errors.Wrap(err, "cannot register MR state metrics recorder for kind v1beta1.FleetList") + } + } + + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1beta1.Fleet_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + WithEventFilter(xpresource.DesiredStateChanged()). + Watches(&v1beta1.Fleet{}, eventHandler). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/zz_ec2_setup.go b/internal/controller/zz_ec2_setup.go index 5841f12c3e..25156d2919 100755 --- a/internal/controller/zz_ec2_setup.go +++ b/internal/controller/zz_ec2_setup.go @@ -31,6 +31,7 @@ import ( egressonlyinternetgateway "github.com/upbound/provider-aws/internal/controller/ec2/egressonlyinternetgateway" eip "github.com/upbound/provider-aws/internal/controller/ec2/eip" eipassociation "github.com/upbound/provider-aws/internal/controller/ec2/eipassociation" + fleet "github.com/upbound/provider-aws/internal/controller/ec2/fleet" flowlog "github.com/upbound/provider-aws/internal/controller/ec2/flowlog" host "github.com/upbound/provider-aws/internal/controller/ec2/host" instance "github.com/upbound/provider-aws/internal/controller/ec2/instance" @@ -137,6 +138,7 @@ func Setup_ec2(mgr ctrl.Manager, o controller.Options) error { egressonlyinternetgateway.Setup, eip.Setup, eipassociation.Setup, + fleet.Setup, flowlog.Setup, host.Setup, instance.Setup, diff --git a/internal/controller/zz_monolith_setup.go b/internal/controller/zz_monolith_setup.go index 7851d0d127..3dca247ac1 100755 --- a/internal/controller/zz_monolith_setup.go +++ b/internal/controller/zz_monolith_setup.go @@ -314,6 +314,7 @@ import ( egressonlyinternetgateway "github.com/upbound/provider-aws/internal/controller/ec2/egressonlyinternetgateway" eip "github.com/upbound/provider-aws/internal/controller/ec2/eip" eipassociation "github.com/upbound/provider-aws/internal/controller/ec2/eipassociation" + fleetec2 "github.com/upbound/provider-aws/internal/controller/ec2/fleet" flowlog "github.com/upbound/provider-aws/internal/controller/ec2/flowlog" hostec2 "github.com/upbound/provider-aws/internal/controller/ec2/host" instanceec2 "github.com/upbound/provider-aws/internal/controller/ec2/instance" @@ -1268,6 +1269,7 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error { egressonlyinternetgateway.Setup, eip.Setup, eipassociation.Setup, + fleetec2.Setup, flowlog.Setup, hostec2.Setup, instanceec2.Setup, diff --git a/package/crds/ec2.aws.upbound.io_fleets.yaml b/package/crds/ec2.aws.upbound.io_fleets.yaml new file mode 100644 index 0000000000..b169aca45c --- /dev/null +++ b/package/crds/ec2.aws.upbound.io_fleets.yaml @@ -0,0 +1,2140 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: fleets.ec2.aws.upbound.io +spec: + group: ec2.aws.upbound.io + names: + categories: + - crossplane + - managed + - aws + kind: Fleet + listKind: FleetList + plural: fleets + singular: fleet + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1beta1 + schema: + openAPIV3Schema: + description: Fleet is the Schema for the Fleets API. Provides a resource to + manage EC2 Fleets + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: FleetSpec defines the desired state of Fleet + properties: + deletionPolicy: + default: Delete + description: |- + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + context: + description: Reserved. + type: string + excessCapacityTerminationPolicy: + description: 'Whether running instances should be terminated if + the total target capacity of the EC2 Fleet is decreased below + the current size of the EC2. Valid values: no-termination, termination. + Defaults to termination. Supported only for fleets of type maintain.' + type: string + fleetInstanceSet: + description: Information about the instances that were launched + by the fleet. Available only when type is set to instant. + items: + properties: + instanceIds: + description: The IDs of the instances. + items: + type: string + type: array + instanceType: + description: Instance type. + type: string + lifecycle: + description: Indicates if the instance that was launched + is a Spot Instance or On-Demand Instance. + type: string + platform: + description: The value is Windows for Windows instances. + Otherwise, the value is blank. + type: string + type: object + type: array + fleetState: + description: The state of the EC2 Fleet. + type: string + fulfilledCapacity: + description: The number of units fulfilled by this request compared + to the set target capacity. + type: number + fulfilledOnDemandCapacity: + description: The number of units fulfilled by this request compared + to the set target On-Demand capacity. + type: number + launchTemplateConfig: + description: Nested argument containing EC2 Launch Template configurations. + Defined below. + items: + properties: + launchTemplateSpecification: + description: Nested argument containing EC2 Launch Template + to use. Defined below. + properties: + launchTemplateId: + description: The ID of the launch template. + type: string + launchTemplateIdRef: + description: Reference to a LaunchTemplate in ec2 to + populate launchTemplateId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + launchTemplateIdSelector: + description: Selector for a LaunchTemplate in ec2 to + populate launchTemplateId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + launchTemplateName: + description: The name of the launch template. + type: string + version: + description: The launch template version number, $Latest, + or $Default. + type: string + versionRef: + description: Reference to a LaunchTemplate in ec2 to + populate version. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + versionSelector: + description: Selector for a LaunchTemplate in ec2 to + populate version. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + override: + description: Nested argument(s) containing parameters to + override the same parameters in the Launch Template. Defined + below. + items: + properties: + availabilityZone: + description: Availability Zone in which to launch + the instances. + type: string + instanceRequirements: + description: Override the instance type in the Launch + Template with instance types that satisfy the requirements. + properties: + acceleratorCount: + description: Block describing the minimum and + maximum number of accelerators (GPUs, FPGAs, + or AWS Inferentia chips). Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorManufacturers: + description: List of accelerator manufacturer + names. Default is any manufacturer. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorNames: + description: List of accelerator names. Default + is any acclerator. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorTotalMemoryMib: + description: Block describing the minimum and + maximum total memory of the accelerators. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorTypes: + description: The accelerator types that must be + on the instance type. Default is any accelerator + type. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedInstanceTypes: + description: 'The instance types to apply your + specified attributes against. All other instance + types are ignored, even if they match your specified + attributes. You can use strings with one or + more wild cards,represented by an asterisk (*). + The following are examples: c5*, m5a.*, r*, + *3*. For example, if you specify c5*, you are + excluding the entire C5 instance family, which + includes all C5a and C5n instance types. If + you specify m5a.*, you are excluding all the + M5a instance types, but not the M5n instance + types. Maximum of 400 entries in the list; each + entry is limited to 30 characters. Default is + no excluded instance types. Default is any instance + type.' + items: + type: string + type: array + x-kubernetes-list-type: set + bareMetal: + description: Indicate whether bare metal instace + types should be included, excluded, or required. + Default is excluded. + type: string + baselineEbsBandwidthMbps: + description: Block describing the minimum and + maximum baseline EBS bandwidth, in Mbps. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + burstablePerformance: + description: Indicates whether burstable performance + T instance types are included, excluded, or + required. Default is excluded. + type: string + cpuManufacturers: + description: |- + The CPU manufacturers to include. Default is any manufacturer. + ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + items: + type: string + type: array + x-kubernetes-list-type: set + excludedInstanceTypes: + description: 'The instance types to exclude. You + can use strings with one or more wild cards, + represented by an asterisk (*). The following + are examples: c5*, m5a.*, r*, *3*. For example, + if you specify c5*, you are excluding the entire + C5 instance family, which includes all C5a and + C5n instance types. If you specify m5a.*, you + are excluding all the M5a instance types, but + not the M5n instance types. Maximum of 400 entries + in the list; each entry is limited to 30 characters. + Default is no excluded instance types.' + items: + type: string + type: array + x-kubernetes-list-type: set + instanceGenerations: + description: Indicates whether current or previous + generation instance types are included. The + current generation instance types are recommended + for use. Valid values are current and previous. + Default is current and previous generation instance + types. + items: + type: string + type: array + x-kubernetes-list-type: set + localStorage: + description: Indicate whether instance types with + local storage volumes are included, excluded, + or required. Default is included. + type: string + localStorageTypes: + description: List of local storage type names. + Valid values are hdd and ssd. Default any storage + type. + items: + type: string + type: array + x-kubernetes-list-type: set + memoryGibPerVcpu: + description: Block describing the minimum and + maximum amount of memory (GiB) per vCPU. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + memoryMib: + description: The minimum and maximum amount of + memory per vCPU, in GiB. Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkBandwidthGbps: + description: The minimum and maximum amount of + network bandwidth, in gigabits per second (Gbps). + Default is No minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkInterfaceCount: + description: Block describing the minimum and + maximum number of network interfaces. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + onDemandMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + On-Demand Instances. This is the maximum you’ll + pay for an On-Demand Instance, expressed as + a percentage higher than the cheapest M, C, + or R instance type with your specified attributes. + When Amazon EC2 Auto Scaling selects instance + types with your attributes, we will exclude + instance types whose price is higher than your + threshold. The parameter accepts an integer, + which Amazon EC2 Auto Scaling interprets as + a percentage. To turn off price protection, + specify a high value, such as 999999. Default + is 20. + type: number + requireHibernateSupport: + description: Indicate whether instance types must + support On-Demand Instance Hibernation, either + true or false. Default is false. + type: boolean + spotMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Default is 100. + type: number + totalLocalStorageGb: + description: Block describing the minimum and + maximum total local storage (GB). Default is + no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + vcpuCount: + description: Block describing the minimum and + maximum number of vCPUs. Default is no maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + type: object + instanceType: + description: Instance type. + type: string + maxPrice: + description: Maximum price per unit hour that you + are willing to pay for a Spot Instance. + type: string + priority: + description: Priority for the launch template override. + If on_demand_options allocation_strategy is set + to prioritized, EC2 Fleet uses priority to determine + which launch template override to use first in fulfilling + On-Demand capacity. The highest priority is launched + first. The lower the number, the higher the priority. + If no number is set, the launch template override + has the lowest priority. Valid values are whole + numbers starting at 0. + type: number + subnetId: + description: ID of the subnet in which to launch the + instances. + type: string + weightedCapacity: + description: Number of units provided by the specified + instance type. + type: number + type: object + type: array + type: object + type: array + onDemandOptions: + description: Nested argument containing On-Demand configurations. + Defined below. + properties: + allocationStrategy: + description: 'The order of the launch template overrides to + use in fulfilling On-Demand capacity. Valid values: lowestPrice, + prioritized. Default: lowestPrice.' + type: string + maxTotalPrice: + description: The maximum amount per hour for On-Demand Instances + that you're willing to pay. + type: string + minTargetCapacity: + description: |- + The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + type: number + singleAvailabilityZone: + description: Indicates that the fleet launches all On-Demand + Instances into a single Availability Zone. Supported only + for fleets of type instant. + type: boolean + singleInstanceType: + description: Indicates that the fleet uses a single instance + type to launch all On-Demand Instances in the fleet. Supported + only for fleets of type instant. + type: boolean + type: object + region: + description: Region is the region you'd like your resource to + be created in. + type: string + replaceUnhealthyInstances: + description: Whether EC2 Fleet should replace unhealthy instances. + Defaults to false. Supported only for fleets of type maintain. + type: boolean + spotOptions: + description: Nested argument containing Spot configurations. Defined + below. + properties: + allocationStrategy: + description: 'How to allocate the target capacity across the + Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, + capacity-optimized-prioritized and price-capacity-optimized. + Default: lowestPrice.' + type: string + instanceInterruptionBehavior: + description: 'Behavior when a Spot Instance is interrupted. + Valid values: hibernate, stop, terminate. Default: terminate.' + type: string + instancePoolsToUseCount: + description: 'Number of Spot pools across which to allocate + your target Spot capacity. Valid only when Spot allocation_strategy + is set to lowestPrice. Default: 1.' + type: number + maintenanceStrategies: + description: Nested argument containing maintenance strategies + for managing your Spot Instances that are at an elevated + risk of being interrupted. Defined below. + properties: + capacityRebalance: + description: Nested argument containing the capacity rebalance + for your fleet request. Defined below. + properties: + replacementStrategy: + description: 'The replacement strategy to use. Only + available for fleets of type set to maintain. Valid + values: launch.' + type: string + terminationDelay: + type: number + type: object + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + targetCapacitySpecification: + description: Nested argument containing target capacity configurations. + Defined below. + properties: + defaultTargetCapacityType: + description: 'Default target capacity type. Valid values: + on-demand, spot.' + type: string + onDemandTargetCapacity: + description: The number of On-Demand units to request. + type: number + spotTargetCapacity: + description: The number of Spot units to request. + type: number + targetCapacityUnitType: + description: |- + The unit for the target capacity. + If you specify target_capacity_unit_type, instance_requirements must be specified. + type: string + totalTargetCapacity: + description: The number of units to request, filled using + default_target_capacity_type. + type: number + type: object + terminateInstances: + description: Whether to terminate instances for an EC2 Fleet if + it is deleted successfully. Defaults to false. + type: boolean + terminateInstancesWithExpiration: + description: Whether running instances should be terminated when + the EC2 Fleet expires. Defaults to false. + type: boolean + type: + description: 'The type of request. Indicates whether the EC2 Fleet + only requests the target capacity, or also attempts to maintain + it. Valid values: maintain, request, instant. Defaults to maintain.' + type: string + validFrom: + description: The start date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start + fulfilling the request immediately. + type: string + validUntil: + description: The end date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 + Fleet requests are placed or able to fulfill the request. If + no value is specified, the request remains until you cancel + it. + type: string + required: + - region + type: object + initProvider: + description: |- + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + properties: + context: + description: Reserved. + type: string + excessCapacityTerminationPolicy: + description: 'Whether running instances should be terminated if + the total target capacity of the EC2 Fleet is decreased below + the current size of the EC2. Valid values: no-termination, termination. + Defaults to termination. Supported only for fleets of type maintain.' + type: string + fleetInstanceSet: + description: Information about the instances that were launched + by the fleet. Available only when type is set to instant. + items: + properties: + instanceIds: + description: The IDs of the instances. + items: + type: string + type: array + instanceType: + description: Instance type. + type: string + lifecycle: + description: Indicates if the instance that was launched + is a Spot Instance or On-Demand Instance. + type: string + platform: + description: The value is Windows for Windows instances. + Otherwise, the value is blank. + type: string + type: object + type: array + fleetState: + description: The state of the EC2 Fleet. + type: string + fulfilledCapacity: + description: The number of units fulfilled by this request compared + to the set target capacity. + type: number + fulfilledOnDemandCapacity: + description: The number of units fulfilled by this request compared + to the set target On-Demand capacity. + type: number + launchTemplateConfig: + description: Nested argument containing EC2 Launch Template configurations. + Defined below. + items: + properties: + launchTemplateSpecification: + description: Nested argument containing EC2 Launch Template + to use. Defined below. + properties: + launchTemplateId: + description: The ID of the launch template. + type: string + launchTemplateIdRef: + description: Reference to a LaunchTemplate in ec2 to + populate launchTemplateId. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + launchTemplateIdSelector: + description: Selector for a LaunchTemplate in ec2 to + populate launchTemplateId. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + launchTemplateName: + description: The name of the launch template. + type: string + version: + description: The launch template version number, $Latest, + or $Default. + type: string + versionRef: + description: Reference to a LaunchTemplate in ec2 to + populate version. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + versionSelector: + description: Selector for a LaunchTemplate in ec2 to + populate version. + properties: + matchControllerRef: + description: |- + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with + matching labels is selected. + type: object + policy: + description: Policies for selection. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + type: object + type: object + override: + description: Nested argument(s) containing parameters to + override the same parameters in the Launch Template. Defined + below. + items: + properties: + availabilityZone: + description: Availability Zone in which to launch + the instances. + type: string + instanceRequirements: + description: Override the instance type in the Launch + Template with instance types that satisfy the requirements. + properties: + acceleratorCount: + description: Block describing the minimum and + maximum number of accelerators (GPUs, FPGAs, + or AWS Inferentia chips). Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorManufacturers: + description: List of accelerator manufacturer + names. Default is any manufacturer. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorNames: + description: List of accelerator names. Default + is any acclerator. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorTotalMemoryMib: + description: Block describing the minimum and + maximum total memory of the accelerators. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorTypes: + description: The accelerator types that must be + on the instance type. Default is any accelerator + type. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedInstanceTypes: + description: 'The instance types to apply your + specified attributes against. All other instance + types are ignored, even if they match your specified + attributes. You can use strings with one or + more wild cards,represented by an asterisk (*). + The following are examples: c5*, m5a.*, r*, + *3*. For example, if you specify c5*, you are + excluding the entire C5 instance family, which + includes all C5a and C5n instance types. If + you specify m5a.*, you are excluding all the + M5a instance types, but not the M5n instance + types. Maximum of 400 entries in the list; each + entry is limited to 30 characters. Default is + no excluded instance types. Default is any instance + type.' + items: + type: string + type: array + x-kubernetes-list-type: set + bareMetal: + description: Indicate whether bare metal instace + types should be included, excluded, or required. + Default is excluded. + type: string + baselineEbsBandwidthMbps: + description: Block describing the minimum and + maximum baseline EBS bandwidth, in Mbps. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + burstablePerformance: + description: Indicates whether burstable performance + T instance types are included, excluded, or + required. Default is excluded. + type: string + cpuManufacturers: + description: |- + The CPU manufacturers to include. Default is any manufacturer. + ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + items: + type: string + type: array + x-kubernetes-list-type: set + excludedInstanceTypes: + description: 'The instance types to exclude. You + can use strings with one or more wild cards, + represented by an asterisk (*). The following + are examples: c5*, m5a.*, r*, *3*. For example, + if you specify c5*, you are excluding the entire + C5 instance family, which includes all C5a and + C5n instance types. If you specify m5a.*, you + are excluding all the M5a instance types, but + not the M5n instance types. Maximum of 400 entries + in the list; each entry is limited to 30 characters. + Default is no excluded instance types.' + items: + type: string + type: array + x-kubernetes-list-type: set + instanceGenerations: + description: Indicates whether current or previous + generation instance types are included. The + current generation instance types are recommended + for use. Valid values are current and previous. + Default is current and previous generation instance + types. + items: + type: string + type: array + x-kubernetes-list-type: set + localStorage: + description: Indicate whether instance types with + local storage volumes are included, excluded, + or required. Default is included. + type: string + localStorageTypes: + description: List of local storage type names. + Valid values are hdd and ssd. Default any storage + type. + items: + type: string + type: array + x-kubernetes-list-type: set + memoryGibPerVcpu: + description: Block describing the minimum and + maximum amount of memory (GiB) per vCPU. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + memoryMib: + description: The minimum and maximum amount of + memory per vCPU, in GiB. Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkBandwidthGbps: + description: The minimum and maximum amount of + network bandwidth, in gigabits per second (Gbps). + Default is No minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkInterfaceCount: + description: Block describing the minimum and + maximum number of network interfaces. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + onDemandMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + On-Demand Instances. This is the maximum you’ll + pay for an On-Demand Instance, expressed as + a percentage higher than the cheapest M, C, + or R instance type with your specified attributes. + When Amazon EC2 Auto Scaling selects instance + types with your attributes, we will exclude + instance types whose price is higher than your + threshold. The parameter accepts an integer, + which Amazon EC2 Auto Scaling interprets as + a percentage. To turn off price protection, + specify a high value, such as 999999. Default + is 20. + type: number + requireHibernateSupport: + description: Indicate whether instance types must + support On-Demand Instance Hibernation, either + true or false. Default is false. + type: boolean + spotMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Default is 100. + type: number + totalLocalStorageGb: + description: Block describing the minimum and + maximum total local storage (GB). Default is + no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + vcpuCount: + description: Block describing the minimum and + maximum number of vCPUs. Default is no maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + type: object + instanceType: + description: Instance type. + type: string + maxPrice: + description: Maximum price per unit hour that you + are willing to pay for a Spot Instance. + type: string + priority: + description: Priority for the launch template override. + If on_demand_options allocation_strategy is set + to prioritized, EC2 Fleet uses priority to determine + which launch template override to use first in fulfilling + On-Demand capacity. The highest priority is launched + first. The lower the number, the higher the priority. + If no number is set, the launch template override + has the lowest priority. Valid values are whole + numbers starting at 0. + type: number + subnetId: + description: ID of the subnet in which to launch the + instances. + type: string + weightedCapacity: + description: Number of units provided by the specified + instance type. + type: number + type: object + type: array + type: object + type: array + onDemandOptions: + description: Nested argument containing On-Demand configurations. + Defined below. + properties: + allocationStrategy: + description: 'The order of the launch template overrides to + use in fulfilling On-Demand capacity. Valid values: lowestPrice, + prioritized. Default: lowestPrice.' + type: string + maxTotalPrice: + description: The maximum amount per hour for On-Demand Instances + that you're willing to pay. + type: string + minTargetCapacity: + description: |- + The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + type: number + singleAvailabilityZone: + description: Indicates that the fleet launches all On-Demand + Instances into a single Availability Zone. Supported only + for fleets of type instant. + type: boolean + singleInstanceType: + description: Indicates that the fleet uses a single instance + type to launch all On-Demand Instances in the fleet. Supported + only for fleets of type instant. + type: boolean + type: object + replaceUnhealthyInstances: + description: Whether EC2 Fleet should replace unhealthy instances. + Defaults to false. Supported only for fleets of type maintain. + type: boolean + spotOptions: + description: Nested argument containing Spot configurations. Defined + below. + properties: + allocationStrategy: + description: 'How to allocate the target capacity across the + Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, + capacity-optimized-prioritized and price-capacity-optimized. + Default: lowestPrice.' + type: string + instanceInterruptionBehavior: + description: 'Behavior when a Spot Instance is interrupted. + Valid values: hibernate, stop, terminate. Default: terminate.' + type: string + instancePoolsToUseCount: + description: 'Number of Spot pools across which to allocate + your target Spot capacity. Valid only when Spot allocation_strategy + is set to lowestPrice. Default: 1.' + type: number + maintenanceStrategies: + description: Nested argument containing maintenance strategies + for managing your Spot Instances that are at an elevated + risk of being interrupted. Defined below. + properties: + capacityRebalance: + description: Nested argument containing the capacity rebalance + for your fleet request. Defined below. + properties: + replacementStrategy: + description: 'The replacement strategy to use. Only + available for fleets of type set to maintain. Valid + values: launch.' + type: string + terminationDelay: + type: number + type: object + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + targetCapacitySpecification: + description: Nested argument containing target capacity configurations. + Defined below. + properties: + defaultTargetCapacityType: + description: 'Default target capacity type. Valid values: + on-demand, spot.' + type: string + onDemandTargetCapacity: + description: The number of On-Demand units to request. + type: number + spotTargetCapacity: + description: The number of Spot units to request. + type: number + targetCapacityUnitType: + description: |- + The unit for the target capacity. + If you specify target_capacity_unit_type, instance_requirements must be specified. + type: string + totalTargetCapacity: + description: The number of units to request, filled using + default_target_capacity_type. + type: number + type: object + terminateInstances: + description: Whether to terminate instances for an EC2 Fleet if + it is deleted successfully. Defaults to false. + type: boolean + terminateInstancesWithExpiration: + description: Whether running instances should be terminated when + the EC2 Fleet expires. Defaults to false. + type: boolean + type: + description: 'The type of request. Indicates whether the EC2 Fleet + only requests the target capacity, or also attempts to maintain + it. Valid values: maintain, request, instant. Defaults to maintain.' + type: string + validFrom: + description: The start date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start + fulfilling the request immediately. + type: string + validUntil: + description: The end date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 + Fleet requests are placed or able to fulfill the request. If + no value is specified, the request remains until you cancel + it. + type: string + type: object + managementPolicies: + default: + - '*' + description: |- + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + items: + description: |- + A ManagementAction represents an action that the Crossplane controllers + can take on an external resource. + enum: + - Observe + - Create + - Update + - Delete + - LateInitialize + - '*' + type: string + type: array + providerConfigRef: + default: + name: default + description: |- + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: |- + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: |- + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: |- + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: |- + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: |- + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: |- + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + type: object + type: + description: |- + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: |- + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: spec.forProvider.launchTemplateConfig is a required parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.launchTemplateConfig) + || (has(self.initProvider) && has(self.initProvider.launchTemplateConfig))' + - message: spec.forProvider.targetCapacitySpecification is a required + parameter + rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies + || ''Update'' in self.managementPolicies) || has(self.forProvider.targetCapacitySpecification) + || (has(self.initProvider) && has(self.initProvider.targetCapacitySpecification))' + status: + description: FleetStatus defines the observed state of Fleet. + properties: + atProvider: + properties: + arn: + description: The ARN of the fleet + type: string + context: + description: Reserved. + type: string + excessCapacityTerminationPolicy: + description: 'Whether running instances should be terminated if + the total target capacity of the EC2 Fleet is decreased below + the current size of the EC2. Valid values: no-termination, termination. + Defaults to termination. Supported only for fleets of type maintain.' + type: string + fleetInstanceSet: + description: Information about the instances that were launched + by the fleet. Available only when type is set to instant. + items: + properties: + instanceIds: + description: The IDs of the instances. + items: + type: string + type: array + instanceType: + description: Instance type. + type: string + lifecycle: + description: Indicates if the instance that was launched + is a Spot Instance or On-Demand Instance. + type: string + platform: + description: The value is Windows for Windows instances. + Otherwise, the value is blank. + type: string + type: object + type: array + fleetState: + description: The state of the EC2 Fleet. + type: string + fulfilledCapacity: + description: The number of units fulfilled by this request compared + to the set target capacity. + type: number + fulfilledOnDemandCapacity: + description: The number of units fulfilled by this request compared + to the set target On-Demand capacity. + type: number + id: + description: Fleet identifier + type: string + launchTemplateConfig: + description: Nested argument containing EC2 Launch Template configurations. + Defined below. + items: + properties: + launchTemplateSpecification: + description: Nested argument containing EC2 Launch Template + to use. Defined below. + properties: + launchTemplateId: + description: The ID of the launch template. + type: string + launchTemplateName: + description: The name of the launch template. + type: string + version: + description: The launch template version number, $Latest, + or $Default. + type: string + type: object + override: + description: Nested argument(s) containing parameters to + override the same parameters in the Launch Template. Defined + below. + items: + properties: + availabilityZone: + description: Availability Zone in which to launch + the instances. + type: string + instanceRequirements: + description: Override the instance type in the Launch + Template with instance types that satisfy the requirements. + properties: + acceleratorCount: + description: Block describing the minimum and + maximum number of accelerators (GPUs, FPGAs, + or AWS Inferentia chips). Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorManufacturers: + description: List of accelerator manufacturer + names. Default is any manufacturer. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorNames: + description: List of accelerator names. Default + is any acclerator. + items: + type: string + type: array + x-kubernetes-list-type: set + acceleratorTotalMemoryMib: + description: Block describing the minimum and + maximum total memory of the accelerators. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + acceleratorTypes: + description: The accelerator types that must be + on the instance type. Default is any accelerator + type. + items: + type: string + type: array + x-kubernetes-list-type: set + allowedInstanceTypes: + description: 'The instance types to apply your + specified attributes against. All other instance + types are ignored, even if they match your specified + attributes. You can use strings with one or + more wild cards,represented by an asterisk (*). + The following are examples: c5*, m5a.*, r*, + *3*. For example, if you specify c5*, you are + excluding the entire C5 instance family, which + includes all C5a and C5n instance types. If + you specify m5a.*, you are excluding all the + M5a instance types, but not the M5n instance + types. Maximum of 400 entries in the list; each + entry is limited to 30 characters. Default is + no excluded instance types. Default is any instance + type.' + items: + type: string + type: array + x-kubernetes-list-type: set + bareMetal: + description: Indicate whether bare metal instace + types should be included, excluded, or required. + Default is excluded. + type: string + baselineEbsBandwidthMbps: + description: Block describing the minimum and + maximum baseline EBS bandwidth, in Mbps. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + burstablePerformance: + description: Indicates whether burstable performance + T instance types are included, excluded, or + required. Default is excluded. + type: string + cpuManufacturers: + description: |- + The CPU manufacturers to include. Default is any manufacturer. + ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + items: + type: string + type: array + x-kubernetes-list-type: set + excludedInstanceTypes: + description: 'The instance types to exclude. You + can use strings with one or more wild cards, + represented by an asterisk (*). The following + are examples: c5*, m5a.*, r*, *3*. For example, + if you specify c5*, you are excluding the entire + C5 instance family, which includes all C5a and + C5n instance types. If you specify m5a.*, you + are excluding all the M5a instance types, but + not the M5n instance types. Maximum of 400 entries + in the list; each entry is limited to 30 characters. + Default is no excluded instance types.' + items: + type: string + type: array + x-kubernetes-list-type: set + instanceGenerations: + description: Indicates whether current or previous + generation instance types are included. The + current generation instance types are recommended + for use. Valid values are current and previous. + Default is current and previous generation instance + types. + items: + type: string + type: array + x-kubernetes-list-type: set + localStorage: + description: Indicate whether instance types with + local storage volumes are included, excluded, + or required. Default is included. + type: string + localStorageTypes: + description: List of local storage type names. + Valid values are hdd and ssd. Default any storage + type. + items: + type: string + type: array + x-kubernetes-list-type: set + memoryGibPerVcpu: + description: Block describing the minimum and + maximum amount of memory (GiB) per vCPU. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + memoryMib: + description: The minimum and maximum amount of + memory per vCPU, in GiB. Default is no minimum + or maximum limits. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkBandwidthGbps: + description: The minimum and maximum amount of + network bandwidth, in gigabits per second (Gbps). + Default is No minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + networkInterfaceCount: + description: Block describing the minimum and + maximum number of network interfaces. Default + is no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + onDemandMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + On-Demand Instances. This is the maximum you’ll + pay for an On-Demand Instance, expressed as + a percentage higher than the cheapest M, C, + or R instance type with your specified attributes. + When Amazon EC2 Auto Scaling selects instance + types with your attributes, we will exclude + instance types whose price is higher than your + threshold. The parameter accepts an integer, + which Amazon EC2 Auto Scaling interprets as + a percentage. To turn off price protection, + specify a high value, such as 999999. Default + is 20. + type: number + requireHibernateSupport: + description: Indicate whether instance types must + support On-Demand Instance Hibernation, either + true or false. Default is false. + type: boolean + spotMaxPricePercentageOverLowestPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Default is 100. + type: number + totalLocalStorageGb: + description: Block describing the minimum and + maximum total local storage (GB). Default is + no minimum or maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + vcpuCount: + description: Block describing the minimum and + maximum number of vCPUs. Default is no maximum. + properties: + max: + description: The maximum number of vCPUs. + To specify no maximum limit, omit this parameter. + type: number + min: + description: The minimum number of vCPUs. + To specify no minimum limit, specify 0. + type: number + type: object + type: object + instanceType: + description: Instance type. + type: string + maxPrice: + description: Maximum price per unit hour that you + are willing to pay for a Spot Instance. + type: string + priority: + description: Priority for the launch template override. + If on_demand_options allocation_strategy is set + to prioritized, EC2 Fleet uses priority to determine + which launch template override to use first in fulfilling + On-Demand capacity. The highest priority is launched + first. The lower the number, the higher the priority. + If no number is set, the launch template override + has the lowest priority. Valid values are whole + numbers starting at 0. + type: number + subnetId: + description: ID of the subnet in which to launch the + instances. + type: string + weightedCapacity: + description: Number of units provided by the specified + instance type. + type: number + type: object + type: array + type: object + type: array + onDemandOptions: + description: Nested argument containing On-Demand configurations. + Defined below. + properties: + allocationStrategy: + description: 'The order of the launch template overrides to + use in fulfilling On-Demand capacity. Valid values: lowestPrice, + prioritized. Default: lowestPrice.' + type: string + maxTotalPrice: + description: The maximum amount per hour for On-Demand Instances + that you're willing to pay. + type: string + minTargetCapacity: + description: |- + The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. + If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type. + type: number + singleAvailabilityZone: + description: Indicates that the fleet launches all On-Demand + Instances into a single Availability Zone. Supported only + for fleets of type instant. + type: boolean + singleInstanceType: + description: Indicates that the fleet uses a single instance + type to launch all On-Demand Instances in the fleet. Supported + only for fleets of type instant. + type: boolean + type: object + replaceUnhealthyInstances: + description: Whether EC2 Fleet should replace unhealthy instances. + Defaults to false. Supported only for fleets of type maintain. + type: boolean + spotOptions: + description: Nested argument containing Spot configurations. Defined + below. + properties: + allocationStrategy: + description: 'How to allocate the target capacity across the + Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, + capacity-optimized-prioritized and price-capacity-optimized. + Default: lowestPrice.' + type: string + instanceInterruptionBehavior: + description: 'Behavior when a Spot Instance is interrupted. + Valid values: hibernate, stop, terminate. Default: terminate.' + type: string + instancePoolsToUseCount: + description: 'Number of Spot pools across which to allocate + your target Spot capacity. Valid only when Spot allocation_strategy + is set to lowestPrice. Default: 1.' + type: number + maintenanceStrategies: + description: Nested argument containing maintenance strategies + for managing your Spot Instances that are at an elevated + risk of being interrupted. Defined below. + properties: + capacityRebalance: + description: Nested argument containing the capacity rebalance + for your fleet request. Defined below. + properties: + replacementStrategy: + description: 'The replacement strategy to use. Only + available for fleets of type set to maintain. Valid + values: launch.' + type: string + terminationDelay: + type: number + type: object + type: object + type: object + tags: + additionalProperties: + type: string + description: Key-value map of resource tags. + type: object + x-kubernetes-map-type: granular + tagsAll: + additionalProperties: + type: string + description: A map of tags assigned to the resource, including + those inherited from the provider default_tags configuration + block. + type: object + x-kubernetes-map-type: granular + targetCapacitySpecification: + description: Nested argument containing target capacity configurations. + Defined below. + properties: + defaultTargetCapacityType: + description: 'Default target capacity type. Valid values: + on-demand, spot.' + type: string + onDemandTargetCapacity: + description: The number of On-Demand units to request. + type: number + spotTargetCapacity: + description: The number of Spot units to request. + type: number + targetCapacityUnitType: + description: |- + The unit for the target capacity. + If you specify target_capacity_unit_type, instance_requirements must be specified. + type: string + totalTargetCapacity: + description: The number of units to request, filled using + default_target_capacity_type. + type: number + type: object + terminateInstances: + description: Whether to terminate instances for an EC2 Fleet if + it is deleted successfully. Defaults to false. + type: boolean + terminateInstancesWithExpiration: + description: Whether running instances should be terminated when + the EC2 Fleet expires. Defaults to false. + type: boolean + type: + description: 'The type of request. Indicates whether the EC2 Fleet + only requests the target capacity, or also attempts to maintain + it. Valid values: maintain, request, instant. Defaults to maintain.' + type: string + validFrom: + description: The start date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start + fulfilling the request immediately. + type: string + validUntil: + description: The end date and time of the request, in UTC format + (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 + Fleet requests are placed or able to fulfill the request. If + no value is specified, the request remains until you cancel + it. + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: |- + LastTransitionTime is the last time this condition transitioned from one + status to another. + format: date-time + type: string + message: + description: |- + A Message containing details about this condition's last transition from + one status to another, if any. + type: string + observedGeneration: + description: |- + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: |- + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + observedGeneration: + description: |- + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + format: int64 + type: integer + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} From 0340c26e2e0aea01d751acad511a7915ca228d41 Mon Sep 17 00:00:00 2001 From: Elliot West Date: Tue, 6 Aug 2024 15:21:26 +0100 Subject: [PATCH 2/3] Change order Signed-off-by: Elliot West --- examples/ec2/v1beta1/fleet.yaml | 51 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/examples/ec2/v1beta1/fleet.yaml b/examples/ec2/v1beta1/fleet.yaml index 2660d85229..34f8464c51 100644 --- a/examples/ec2/v1beta1/fleet.yaml +++ b/examples/ec2/v1beta1/fleet.yaml @@ -2,31 +2,6 @@ # # SPDX-License-Identifier: CC0-1.0 -apiVersion: ec2.aws.upbound.io/v1beta1 -kind: LaunchTemplate -metadata: - labels: - testing.upbound.io/example-name: example - name: example -spec: - forProvider: - imageId: ami-074be47313f84fa38 - instanceInitiatedShutdownBehavior: terminate - instanceType: t3.micro - name: example - region: us-west-2 - tags: - example: "true" - tagSpecifications: - - resourceType: instance - tags: - example: "true" - - resourceType: volume - tags: - example: "true" - ---- - apiVersion: ec2.aws.upbound.io/v1beta1 kind: Fleet metadata: @@ -59,3 +34,29 @@ spec: example: "true" terminateInstances: true type: instant + +--- + +apiVersion: ec2.aws.upbound.io/v1beta1 +kind: LaunchTemplate +metadata: + labels: + testing.upbound.io/example-name: example + name: example +spec: + forProvider: + imageId: ami-074be47313f84fa38 + instanceInitiatedShutdownBehavior: terminate + instanceType: t3.micro + name: example + region: us-west-2 + tags: + example: "true" + tagSpecifications: + - resourceType: instance + tags: + example: "true" + - resourceType: volume + tags: + example: "true" + From 57aa001dfc1cd0a2bf09830d7e4f0a69fa95c055 Mon Sep 17 00:00:00 2001 From: Elliot West Date: Tue, 6 Aug 2024 15:52:30 +0100 Subject: [PATCH 3/3] output of make generate Signed-off-by: Elliot West --- apis/ec2/v1beta1/zz_fleet_types.go | 45 ++++++++++- apis/ec2/v1beta1/zz_generated.deepcopy.go | 90 +++++++++++++++++++++ package/crds/ec2.aws.upbound.io_fleets.yaml | 81 ++++++++++++++++++- 3 files changed, 210 insertions(+), 6 deletions(-) diff --git a/apis/ec2/v1beta1/zz_fleet_types.go b/apis/ec2/v1beta1/zz_fleet_types.go index 470484e2a9..275026bb4a 100755 --- a/apis/ec2/v1beta1/zz_fleet_types.go +++ b/apis/ec2/v1beta1/zz_fleet_types.go @@ -13,6 +13,25 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) +type CapacityReservationOptionsInitParameters struct { + + // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: use-capacity-reservations-first. + UsageStrategy *string `json:"usageStrategy,omitempty" tf:"usage_strategy,omitempty"` +} + +type CapacityReservationOptionsObservation struct { + + // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: use-capacity-reservations-first. + UsageStrategy *string `json:"usageStrategy,omitempty" tf:"usage_strategy,omitempty"` +} + +type CapacityReservationOptionsParameters struct { + + // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: use-capacity-reservations-first. + // +kubebuilder:validation:Optional + UsageStrategy *string `json:"usageStrategy,omitempty" tf:"usage_strategy,omitempty"` +} + type FleetInitParameters struct { // Reserved. @@ -466,6 +485,9 @@ type OnDemandOptionsInitParameters struct { // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + // Demand capacity. Supported only for fleets of type instant. + CapacityReservationOptions *CapacityReservationOptionsInitParameters `json:"capacityReservationOptions,omitempty" tf:"capacity_reservation_options,omitempty"` + // The maximum amount per hour for On-Demand Instances that you're willing to pay. MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` @@ -485,6 +507,9 @@ type OnDemandOptionsObservation struct { // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + // Demand capacity. Supported only for fleets of type instant. + CapacityReservationOptions *CapacityReservationOptionsObservation `json:"capacityReservationOptions,omitempty" tf:"capacity_reservation_options,omitempty"` + // The maximum amount per hour for On-Demand Instances that you're willing to pay. MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` @@ -505,6 +530,10 @@ type OnDemandOptionsParameters struct { // +kubebuilder:validation:Optional AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"` + // Demand capacity. Supported only for fleets of type instant. + // +kubebuilder:validation:Optional + CapacityReservationOptions *CapacityReservationOptionsParameters `json:"capacityReservationOptions,omitempty" tf:"capacity_reservation_options,omitempty"` + // The maximum amount per hour for On-Demand Instances that you're willing to pay. // +kubebuilder:validation:Optional MaxTotalPrice *string `json:"maxTotalPrice,omitempty" tf:"max_total_price,omitempty"` @@ -687,6 +716,9 @@ type OverrideInstanceRequirementsInitParameters struct { // +listType=set LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *float64 `json:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty" tf:"max_spot_price_as_percentage_of_optimal_on_demand_price,omitempty"` + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` @@ -705,7 +737,7 @@ type OverrideInstanceRequirementsInitParameters struct { // Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false. RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with max_spot_price_as_percentage_of_optimal_on_demand_price SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. @@ -884,6 +916,9 @@ type OverrideInstanceRequirementsObservation struct { // +listType=set LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *float64 `json:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty" tf:"max_spot_price_as_percentage_of_optimal_on_demand_price,omitempty"` + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuObservation `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` @@ -902,7 +937,7 @@ type OverrideInstanceRequirementsObservation struct { // Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false. RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with max_spot_price_as_percentage_of_optimal_on_demand_price SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. @@ -979,6 +1014,10 @@ type OverrideInstanceRequirementsParameters struct { // +listType=set LocalStorageTypes []*string `json:"localStorageTypes,omitempty" tf:"local_storage_types,omitempty"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + // +kubebuilder:validation:Optional + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *float64 `json:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty" tf:"max_spot_price_as_percentage_of_optimal_on_demand_price,omitempty"` + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. // +kubebuilder:validation:Optional MemoryGibPerVcpu *OverrideInstanceRequirementsMemoryGibPerVcpuParameters `json:"memoryGibPerVcpu,omitempty" tf:"memory_gib_per_vcpu,omitempty"` @@ -1003,7 +1042,7 @@ type OverrideInstanceRequirementsParameters struct { // +kubebuilder:validation:Optional RequireHibernateSupport *bool `json:"requireHibernateSupport,omitempty" tf:"require_hibernate_support,omitempty"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with max_spot_price_as_percentage_of_optimal_on_demand_price // +kubebuilder:validation:Optional SpotMaxPricePercentageOverLowestPrice *float64 `json:"spotMaxPricePercentageOverLowestPrice,omitempty" tf:"spot_max_price_percentage_over_lowest_price,omitempty"` diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index 4d00cd5072..9bc3e09e1c 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -2895,6 +2895,66 @@ func (in *CapacityReservationObservation) DeepCopy() *CapacityReservationObserva return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityReservationOptionsInitParameters) DeepCopyInto(out *CapacityReservationOptionsInitParameters) { + *out = *in + if in.UsageStrategy != nil { + in, out := &in.UsageStrategy, &out.UsageStrategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityReservationOptionsInitParameters. +func (in *CapacityReservationOptionsInitParameters) DeepCopy() *CapacityReservationOptionsInitParameters { + if in == nil { + return nil + } + out := new(CapacityReservationOptionsInitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityReservationOptionsObservation) DeepCopyInto(out *CapacityReservationOptionsObservation) { + *out = *in + if in.UsageStrategy != nil { + in, out := &in.UsageStrategy, &out.UsageStrategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityReservationOptionsObservation. +func (in *CapacityReservationOptionsObservation) DeepCopy() *CapacityReservationOptionsObservation { + if in == nil { + return nil + } + out := new(CapacityReservationOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityReservationOptionsParameters) DeepCopyInto(out *CapacityReservationOptionsParameters) { + *out = *in + if in.UsageStrategy != nil { + in, out := &in.UsageStrategy, &out.UsageStrategy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityReservationOptionsParameters. +func (in *CapacityReservationOptionsParameters) DeepCopy() *CapacityReservationOptionsParameters { + if in == nil { + return nil + } + out := new(CapacityReservationOptionsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CapacityReservationParameters) DeepCopyInto(out *CapacityReservationParameters) { *out = *in @@ -27102,6 +27162,11 @@ func (in *OnDemandOptionsInitParameters) DeepCopyInto(out *OnDemandOptionsInitPa *out = new(string) **out = **in } + if in.CapacityReservationOptions != nil { + in, out := &in.CapacityReservationOptions, &out.CapacityReservationOptions + *out = new(CapacityReservationOptionsInitParameters) + (*in).DeepCopyInto(*out) + } if in.MaxTotalPrice != nil { in, out := &in.MaxTotalPrice, &out.MaxTotalPrice *out = new(string) @@ -27142,6 +27207,11 @@ func (in *OnDemandOptionsObservation) DeepCopyInto(out *OnDemandOptionsObservati *out = new(string) **out = **in } + if in.CapacityReservationOptions != nil { + in, out := &in.CapacityReservationOptions, &out.CapacityReservationOptions + *out = new(CapacityReservationOptionsObservation) + (*in).DeepCopyInto(*out) + } if in.MaxTotalPrice != nil { in, out := &in.MaxTotalPrice, &out.MaxTotalPrice *out = new(string) @@ -27182,6 +27252,11 @@ func (in *OnDemandOptionsParameters) DeepCopyInto(out *OnDemandOptionsParameters *out = new(string) **out = **in } + if in.CapacityReservationOptions != nil { + in, out := &in.CapacityReservationOptions, &out.CapacityReservationOptions + *out = new(CapacityReservationOptionsParameters) + (*in).DeepCopyInto(*out) + } if in.MaxTotalPrice != nil { in, out := &in.MaxTotalPrice, &out.MaxTotalPrice *out = new(string) @@ -27926,6 +28001,11 @@ func (in *OverrideInstanceRequirementsInitParameters) DeepCopyInto(out *Override } } } + if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { + in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + *out = new(float64) + **out = **in + } if in.MemoryGibPerVcpu != nil { in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuInitParameters) @@ -28404,6 +28484,11 @@ func (in *OverrideInstanceRequirementsObservation) DeepCopyInto(out *OverrideIns } } } + if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { + in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + *out = new(float64) + **out = **in + } if in.MemoryGibPerVcpu != nil { in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuObservation) @@ -28582,6 +28667,11 @@ func (in *OverrideInstanceRequirementsParameters) DeepCopyInto(out *OverrideInst } } } + if in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice != nil { + in, out := &in.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice, &out.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + *out = new(float64) + **out = **in + } if in.MemoryGibPerVcpu != nil { in, out := &in.MemoryGibPerVcpu, &out.MemoryGibPerVcpu *out = new(OverrideInstanceRequirementsMemoryGibPerVcpuParameters) diff --git a/package/crds/ec2.aws.upbound.io_fleets.yaml b/package/crds/ec2.aws.upbound.io_fleets.yaml index b169aca45c..5ca003f30e 100644 --- a/package/crds/ec2.aws.upbound.io_fleets.yaml +++ b/package/crds/ec2.aws.upbound.io_fleets.yaml @@ -445,6 +445,20 @@ spec: type: string type: array x-kubernetes-list-type: set + maxSpotPriceAsPercentageOfOptimalOnDemandPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + type: number memoryGibPerVcpu: description: Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default @@ -533,7 +547,8 @@ spec: parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, - such as 999999. Default is 100. + such as 999999. Default is 100. Conflicts with + max_spot_price_as_percentage_of_optimal_on_demand_price type: number totalLocalStorageGb: description: Block describing the minimum and @@ -602,6 +617,16 @@ spec: use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.' type: string + capacityReservationOptions: + description: Demand capacity. Supported only for fleets of + type instant. + properties: + usageStrategy: + description: 'Indicates whether to use unused Capacity + Reservations for fulfilling On-Demand capacity. Valid + values: use-capacity-reservations-first.' + type: string + type: object maxTotalPrice: description: The maximum amount per hour for On-Demand Instances that you're willing to pay. @@ -1111,6 +1136,20 @@ spec: type: string type: array x-kubernetes-list-type: set + maxSpotPriceAsPercentageOfOptimalOnDemandPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + type: number memoryGibPerVcpu: description: Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default @@ -1199,7 +1238,8 @@ spec: parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, - such as 999999. Default is 100. + such as 999999. Default is 100. Conflicts with + max_spot_price_as_percentage_of_optimal_on_demand_price type: number totalLocalStorageGb: description: Block describing the minimum and @@ -1268,6 +1308,16 @@ spec: use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.' type: string + capacityReservationOptions: + description: Demand capacity. Supported only for fleets of + type instant. + properties: + usageStrategy: + description: 'Indicates whether to use unused Capacity + Reservations for fulfilling On-Demand capacity. Valid + values: use-capacity-reservations-first.' + type: string + type: object maxTotalPrice: description: The maximum amount per hour for On-Demand Instances that you're willing to pay. @@ -1794,6 +1844,20 @@ spec: type: string type: array x-kubernetes-list-type: set + maxSpotPriceAsPercentageOfOptimalOnDemandPrice: + description: The price protection threshold for + Spot Instances. This is the maximum you’ll pay + for a Spot Instance, expressed as a percentage + higher than the cheapest M, C, or R instance + type with your specified attributes. When Amazon + EC2 Auto Scaling selects instance types with + your attributes, we will exclude instance types + whose price is higher than your threshold. The + parameter accepts an integer, which Amazon EC2 + Auto Scaling interprets as a percentage. To + turn off price protection, specify a high value, + such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price + type: number memoryGibPerVcpu: description: Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default @@ -1882,7 +1946,8 @@ spec: parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, - such as 999999. Default is 100. + such as 999999. Default is 100. Conflicts with + max_spot_price_as_percentage_of_optimal_on_demand_price type: number totalLocalStorageGb: description: Block describing the minimum and @@ -1951,6 +2016,16 @@ spec: use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.' type: string + capacityReservationOptions: + description: Demand capacity. Supported only for fleets of + type instant. + properties: + usageStrategy: + description: 'Indicates whether to use unused Capacity + Reservations for fulfilling On-Demand capacity. Valid + values: use-capacity-reservations-first.' + type: string + type: object maxTotalPrice: description: The maximum amount per hour for On-Demand Instances that you're willing to pay.