1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. migrationcenter
  5. PreferenceSet
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.migrationcenter.PreferenceSet

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Manages the PreferenceSet resource.

    To get more information about PreferenceSet, see:

    Example Usage

    Preference Set Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.migrationcenter.PreferenceSet("default", {
        location: "us-central1",
        preferenceSetId: "preference-set-test",
        description: "Terraform integration test description",
        displayName: "Terraform integration test display",
        virtualMachinePreferences: {
            vmwareEnginePreferences: {
                cpuOvercommitRatio: 1.5,
            },
            sizingOptimizationStrategy: "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
            targetProduct: "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.migrationcenter.PreferenceSet("default",
        location="us-central1",
        preference_set_id="preference-set-test",
        description="Terraform integration test description",
        display_name="Terraform integration test display",
        virtual_machine_preferences={
            "vmware_engine_preferences": {
                "cpu_overcommit_ratio": 1.5,
            },
            "sizing_optimization_strategy": "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
            "target_product": "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/migrationcenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := migrationcenter.NewPreferenceSet(ctx, "default", &migrationcenter.PreferenceSetArgs{
    			Location:        pulumi.String("us-central1"),
    			PreferenceSetId: pulumi.String("preference-set-test"),
    			Description:     pulumi.String("Terraform integration test description"),
    			DisplayName:     pulumi.String("Terraform integration test display"),
    			VirtualMachinePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesArgs{
    				VmwareEnginePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs{
    					CpuOvercommitRatio: pulumi.Float64(1.5),
    				},
    				SizingOptimizationStrategy: pulumi.String("SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE"),
    				TargetProduct:              pulumi.String("COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.MigrationCenter.PreferenceSet("default", new()
        {
            Location = "us-central1",
            PreferenceSetId = "preference-set-test",
            Description = "Terraform integration test description",
            DisplayName = "Terraform integration test display",
            VirtualMachinePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesArgs
            {
                VmwareEnginePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs
                {
                    CpuOvercommitRatio = 1.5,
                },
                SizingOptimizationStrategy = "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
                TargetProduct = "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.migrationcenter.PreferenceSet;
    import com.pulumi.gcp.migrationcenter.PreferenceSetArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new PreferenceSet("default", PreferenceSetArgs.builder()
                .location("us-central1")
                .preferenceSetId("preference-set-test")
                .description("Terraform integration test description")
                .displayName("Terraform integration test display")
                .virtualMachinePreferences(PreferenceSetVirtualMachinePreferencesArgs.builder()
                    .vmwareEnginePreferences(PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.builder()
                        .cpuOvercommitRatio(1.5)
                        .build())
                    .sizingOptimizationStrategy("SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE")
                    .targetProduct("COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE")
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:migrationcenter:PreferenceSet
        properties:
          location: us-central1
          preferenceSetId: preference-set-test
          description: Terraform integration test description
          displayName: Terraform integration test display
          virtualMachinePreferences:
            vmwareEnginePreferences:
              cpuOvercommitRatio: 1.5
            sizingOptimizationStrategy: SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
            targetProduct: COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE
    

    Preference Set Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.migrationcenter.PreferenceSet("default", {
        location: "us-central1",
        preferenceSetId: "preference-set-test",
        description: "Terraform integration test description",
        displayName: "Terraform integration test display",
        virtualMachinePreferences: {
            vmwareEnginePreferences: {
                cpuOvercommitRatio: 1.5,
                storageDeduplicationCompressionRatio: 1.3,
                commitmentPlan: "ON_DEMAND",
            },
            sizingOptimizationStrategy: "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
            targetProduct: "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
            commitmentPlan: "COMMITMENT_PLAN_ONE_YEAR",
            regionPreferences: {
                preferredRegions: ["us-central1"],
            },
            soleTenancyPreferences: {
                commitmentPlan: "ON_DEMAND",
                cpuOvercommitRatio: 1.2,
                hostMaintenancePolicy: "HOST_MAINTENANCE_POLICY_DEFAULT",
                nodeTypes: [{
                    nodeName: "tf-test",
                }],
            },
            computeEnginePreferences: {
                licenseType: "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
                machinePreferences: {
                    allowedMachineSeries: [{
                        code: "C3",
                    }],
                },
            },
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.migrationcenter.PreferenceSet("default",
        location="us-central1",
        preference_set_id="preference-set-test",
        description="Terraform integration test description",
        display_name="Terraform integration test display",
        virtual_machine_preferences={
            "vmware_engine_preferences": {
                "cpu_overcommit_ratio": 1.5,
                "storage_deduplication_compression_ratio": 1.3,
                "commitment_plan": "ON_DEMAND",
            },
            "sizing_optimization_strategy": "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
            "target_product": "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
            "commitment_plan": "COMMITMENT_PLAN_ONE_YEAR",
            "region_preferences": {
                "preferred_regions": ["us-central1"],
            },
            "sole_tenancy_preferences": {
                "commitment_plan": "ON_DEMAND",
                "cpu_overcommit_ratio": 1.2,
                "host_maintenance_policy": "HOST_MAINTENANCE_POLICY_DEFAULT",
                "node_types": [{
                    "node_name": "tf-test",
                }],
            },
            "compute_engine_preferences": {
                "license_type": "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
                "machine_preferences": {
                    "allowed_machine_series": [{
                        "code": "C3",
                    }],
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/migrationcenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := migrationcenter.NewPreferenceSet(ctx, "default", &migrationcenter.PreferenceSetArgs{
    			Location:        pulumi.String("us-central1"),
    			PreferenceSetId: pulumi.String("preference-set-test"),
    			Description:     pulumi.String("Terraform integration test description"),
    			DisplayName:     pulumi.String("Terraform integration test display"),
    			VirtualMachinePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesArgs{
    				VmwareEnginePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs{
    					CpuOvercommitRatio:                   pulumi.Float64(1.5),
    					StorageDeduplicationCompressionRatio: pulumi.Float64(1.3),
    					CommitmentPlan:                       pulumi.String("ON_DEMAND"),
    				},
    				SizingOptimizationStrategy: pulumi.String("SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE"),
    				TargetProduct:              pulumi.String("COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE"),
    				CommitmentPlan:             pulumi.String("COMMITMENT_PLAN_ONE_YEAR"),
    				RegionPreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs{
    					PreferredRegions: pulumi.StringArray{
    						pulumi.String("us-central1"),
    					},
    				},
    				SoleTenancyPreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs{
    					CommitmentPlan:        pulumi.String("ON_DEMAND"),
    					CpuOvercommitRatio:    pulumi.Float64(1.2),
    					HostMaintenancePolicy: pulumi.String("HOST_MAINTENANCE_POLICY_DEFAULT"),
    					NodeTypes: migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray{
    						&migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs{
    							NodeName: pulumi.String("tf-test"),
    						},
    					},
    				},
    				ComputeEnginePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs{
    					LicenseType: pulumi.String("LICENSE_TYPE_BRING_YOUR_OWN_LICENSE"),
    					MachinePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs{
    						AllowedMachineSeries: migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray{
    							&migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs{
    								Code: pulumi.String("C3"),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.MigrationCenter.PreferenceSet("default", new()
        {
            Location = "us-central1",
            PreferenceSetId = "preference-set-test",
            Description = "Terraform integration test description",
            DisplayName = "Terraform integration test display",
            VirtualMachinePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesArgs
            {
                VmwareEnginePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs
                {
                    CpuOvercommitRatio = 1.5,
                    StorageDeduplicationCompressionRatio = 1.3,
                    CommitmentPlan = "ON_DEMAND",
                },
                SizingOptimizationStrategy = "SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE",
                TargetProduct = "COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE",
                CommitmentPlan = "COMMITMENT_PLAN_ONE_YEAR",
                RegionPreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs
                {
                    PreferredRegions = new[]
                    {
                        "us-central1",
                    },
                },
                SoleTenancyPreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs
                {
                    CommitmentPlan = "ON_DEMAND",
                    CpuOvercommitRatio = 1.2,
                    HostMaintenancePolicy = "HOST_MAINTENANCE_POLICY_DEFAULT",
                    NodeTypes = new[]
                    {
                        new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs
                        {
                            NodeName = "tf-test",
                        },
                    },
                },
                ComputeEnginePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs
                {
                    LicenseType = "LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
                    MachinePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs
                    {
                        AllowedMachineSeries = new[]
                        {
                            new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs
                            {
                                Code = "C3",
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.migrationcenter.PreferenceSet;
    import com.pulumi.gcp.migrationcenter.PreferenceSetArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs;
    import com.pulumi.gcp.migrationcenter.inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new PreferenceSet("default", PreferenceSetArgs.builder()
                .location("us-central1")
                .preferenceSetId("preference-set-test")
                .description("Terraform integration test description")
                .displayName("Terraform integration test display")
                .virtualMachinePreferences(PreferenceSetVirtualMachinePreferencesArgs.builder()
                    .vmwareEnginePreferences(PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.builder()
                        .cpuOvercommitRatio(1.5)
                        .storageDeduplicationCompressionRatio(1.3)
                        .commitmentPlan("ON_DEMAND")
                        .build())
                    .sizingOptimizationStrategy("SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE")
                    .targetProduct("COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE")
                    .commitmentPlan("COMMITMENT_PLAN_ONE_YEAR")
                    .regionPreferences(PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs.builder()
                        .preferredRegions("us-central1")
                        .build())
                    .soleTenancyPreferences(PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs.builder()
                        .commitmentPlan("ON_DEMAND")
                        .cpuOvercommitRatio(1.2)
                        .hostMaintenancePolicy("HOST_MAINTENANCE_POLICY_DEFAULT")
                        .nodeTypes(PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs.builder()
                            .nodeName("tf-test")
                            .build())
                        .build())
                    .computeEnginePreferences(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs.builder()
                        .licenseType("LICENSE_TYPE_BRING_YOUR_OWN_LICENSE")
                        .machinePreferences(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs.builder()
                            .allowedMachineSeries(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs.builder()
                                .code("C3")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:migrationcenter:PreferenceSet
        properties:
          location: us-central1
          preferenceSetId: preference-set-test
          description: Terraform integration test description
          displayName: Terraform integration test display
          virtualMachinePreferences:
            vmwareEnginePreferences:
              cpuOvercommitRatio: 1.5
              storageDeduplicationCompressionRatio: 1.3
              commitmentPlan: ON_DEMAND
            sizingOptimizationStrategy: SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
            targetProduct: COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE
            commitmentPlan: COMMITMENT_PLAN_ONE_YEAR
            regionPreferences:
              preferredRegions:
                - us-central1
            soleTenancyPreferences:
              commitmentPlan: ON_DEMAND
              cpuOvercommitRatio: 1.2
              hostMaintenancePolicy: HOST_MAINTENANCE_POLICY_DEFAULT
              nodeTypes:
                - nodeName: tf-test
            computeEnginePreferences:
              licenseType: LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
              machinePreferences:
                allowedMachineSeries:
                  - code: C3
    

    Create PreferenceSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PreferenceSet(name: string, args: PreferenceSetArgs, opts?: CustomResourceOptions);
    @overload
    def PreferenceSet(resource_name: str,
                      args: PreferenceSetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PreferenceSet(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      location: Optional[str] = None,
                      preference_set_id: Optional[str] = None,
                      description: Optional[str] = None,
                      display_name: Optional[str] = None,
                      project: Optional[str] = None,
                      virtual_machine_preferences: Optional[PreferenceSetVirtualMachinePreferencesArgs] = None)
    func NewPreferenceSet(ctx *Context, name string, args PreferenceSetArgs, opts ...ResourceOption) (*PreferenceSet, error)
    public PreferenceSet(string name, PreferenceSetArgs args, CustomResourceOptions? opts = null)
    public PreferenceSet(String name, PreferenceSetArgs args)
    public PreferenceSet(String name, PreferenceSetArgs args, CustomResourceOptions options)
    
    type: gcp:migrationcenter:PreferenceSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PreferenceSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PreferenceSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PreferenceSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PreferenceSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PreferenceSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var preferenceSetResource = new Gcp.MigrationCenter.PreferenceSet("preferenceSetResource", new()
    {
        Location = "string",
        PreferenceSetId = "string",
        Description = "string",
        DisplayName = "string",
        Project = "string",
        VirtualMachinePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesArgs
        {
            CommitmentPlan = "string",
            ComputeEnginePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs
            {
                LicenseType = "string",
                MachinePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs
                {
                    AllowedMachineSeries = new[]
                    {
                        new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs
                        {
                            Code = "string",
                        },
                    },
                },
            },
            RegionPreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs
            {
                PreferredRegions = new[]
                {
                    "string",
                },
            },
            SizingOptimizationStrategy = "string",
            SoleTenancyPreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs
            {
                CommitmentPlan = "string",
                CpuOvercommitRatio = 0,
                HostMaintenancePolicy = "string",
                NodeTypes = new[]
                {
                    new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs
                    {
                        NodeName = "string",
                    },
                },
            },
            TargetProduct = "string",
            VmwareEnginePreferences = new Gcp.MigrationCenter.Inputs.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs
            {
                CommitmentPlan = "string",
                CpuOvercommitRatio = 0,
                MemoryOvercommitRatio = 0,
                StorageDeduplicationCompressionRatio = 0,
            },
        },
    });
    
    example, err := migrationcenter.NewPreferenceSet(ctx, "preferenceSetResource", &migrationcenter.PreferenceSetArgs{
    	Location:        pulumi.String("string"),
    	PreferenceSetId: pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	DisplayName:     pulumi.String("string"),
    	Project:         pulumi.String("string"),
    	VirtualMachinePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesArgs{
    		CommitmentPlan: pulumi.String("string"),
    		ComputeEnginePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs{
    			LicenseType: pulumi.String("string"),
    			MachinePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs{
    				AllowedMachineSeries: migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray{
    					&migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs{
    						Code: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		RegionPreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs{
    			PreferredRegions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		SizingOptimizationStrategy: pulumi.String("string"),
    		SoleTenancyPreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs{
    			CommitmentPlan:        pulumi.String("string"),
    			CpuOvercommitRatio:    pulumi.Float64(0),
    			HostMaintenancePolicy: pulumi.String("string"),
    			NodeTypes: migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray{
    				&migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs{
    					NodeName: pulumi.String("string"),
    				},
    			},
    		},
    		TargetProduct: pulumi.String("string"),
    		VmwareEnginePreferences: &migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs{
    			CommitmentPlan:                       pulumi.String("string"),
    			CpuOvercommitRatio:                   pulumi.Float64(0),
    			MemoryOvercommitRatio:                pulumi.Float64(0),
    			StorageDeduplicationCompressionRatio: pulumi.Float64(0),
    		},
    	},
    })
    
    var preferenceSetResource = new PreferenceSet("preferenceSetResource", PreferenceSetArgs.builder()
        .location("string")
        .preferenceSetId("string")
        .description("string")
        .displayName("string")
        .project("string")
        .virtualMachinePreferences(PreferenceSetVirtualMachinePreferencesArgs.builder()
            .commitmentPlan("string")
            .computeEnginePreferences(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs.builder()
                .licenseType("string")
                .machinePreferences(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs.builder()
                    .allowedMachineSeries(PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs.builder()
                        .code("string")
                        .build())
                    .build())
                .build())
            .regionPreferences(PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs.builder()
                .preferredRegions("string")
                .build())
            .sizingOptimizationStrategy("string")
            .soleTenancyPreferences(PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs.builder()
                .commitmentPlan("string")
                .cpuOvercommitRatio(0)
                .hostMaintenancePolicy("string")
                .nodeTypes(PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs.builder()
                    .nodeName("string")
                    .build())
                .build())
            .targetProduct("string")
            .vmwareEnginePreferences(PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs.builder()
                .commitmentPlan("string")
                .cpuOvercommitRatio(0)
                .memoryOvercommitRatio(0)
                .storageDeduplicationCompressionRatio(0)
                .build())
            .build())
        .build());
    
    preference_set_resource = gcp.migrationcenter.PreferenceSet("preferenceSetResource",
        location="string",
        preference_set_id="string",
        description="string",
        display_name="string",
        project="string",
        virtual_machine_preferences={
            "commitment_plan": "string",
            "compute_engine_preferences": {
                "license_type": "string",
                "machine_preferences": {
                    "allowed_machine_series": [{
                        "code": "string",
                    }],
                },
            },
            "region_preferences": {
                "preferred_regions": ["string"],
            },
            "sizing_optimization_strategy": "string",
            "sole_tenancy_preferences": {
                "commitment_plan": "string",
                "cpu_overcommit_ratio": 0,
                "host_maintenance_policy": "string",
                "node_types": [{
                    "node_name": "string",
                }],
            },
            "target_product": "string",
            "vmware_engine_preferences": {
                "commitment_plan": "string",
                "cpu_overcommit_ratio": 0,
                "memory_overcommit_ratio": 0,
                "storage_deduplication_compression_ratio": 0,
            },
        })
    
    const preferenceSetResource = new gcp.migrationcenter.PreferenceSet("preferenceSetResource", {
        location: "string",
        preferenceSetId: "string",
        description: "string",
        displayName: "string",
        project: "string",
        virtualMachinePreferences: {
            commitmentPlan: "string",
            computeEnginePreferences: {
                licenseType: "string",
                machinePreferences: {
                    allowedMachineSeries: [{
                        code: "string",
                    }],
                },
            },
            regionPreferences: {
                preferredRegions: ["string"],
            },
            sizingOptimizationStrategy: "string",
            soleTenancyPreferences: {
                commitmentPlan: "string",
                cpuOvercommitRatio: 0,
                hostMaintenancePolicy: "string",
                nodeTypes: [{
                    nodeName: "string",
                }],
            },
            targetProduct: "string",
            vmwareEnginePreferences: {
                commitmentPlan: "string",
                cpuOvercommitRatio: 0,
                memoryOvercommitRatio: 0,
                storageDeduplicationCompressionRatio: 0,
            },
        },
    });
    
    type: gcp:migrationcenter:PreferenceSet
    properties:
        description: string
        displayName: string
        location: string
        preferenceSetId: string
        project: string
        virtualMachinePreferences:
            commitmentPlan: string
            computeEnginePreferences:
                licenseType: string
                machinePreferences:
                    allowedMachineSeries:
                        - code: string
            regionPreferences:
                preferredRegions:
                    - string
            sizingOptimizationStrategy: string
            soleTenancyPreferences:
                commitmentPlan: string
                cpuOvercommitRatio: 0
                hostMaintenancePolicy: string
                nodeTypes:
                    - nodeName: string
            targetProduct: string
            vmwareEnginePreferences:
                commitmentPlan: string
                cpuOvercommitRatio: 0
                memoryOvercommitRatio: 0
                storageDeduplicationCompressionRatio: 0
    

    PreferenceSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PreferenceSet resource accepts the following input properties:

    Location string
    Part of parent. See documentation of projectsId.
    PreferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    Description string
    A description of the preference set.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    VirtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    Location string
    Part of parent. See documentation of projectsId.
    PreferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    Description string
    A description of the preference set.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    VirtualMachinePreferences PreferenceSetVirtualMachinePreferencesArgs
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    location String
    Part of parent. See documentation of projectsId.
    preferenceSetId String
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    description String
    A description of the preference set.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    virtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    location string
    Part of parent. See documentation of projectsId.
    preferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    description string
    A description of the preference set.
    displayName string
    User-friendly display name. Maximum length is 63 characters.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    virtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    location str
    Part of parent. See documentation of projectsId.
    preference_set_id str
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    description str
    A description of the preference set.
    display_name str
    User-friendly display name. Maximum length is 63 characters.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    virtual_machine_preferences PreferenceSetVirtualMachinePreferencesArgs
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    location String
    Part of parent. See documentation of projectsId.
    preferenceSetId String
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    description String
    A description of the preference set.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    virtualMachinePreferences Property Map
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PreferenceSet resource produces the following output properties:

    CreateTime string
    Output only. The timestamp when the preference set was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Output only. Name of the preference set.
    UpdateTime string
    Output only. The timestamp when the preference set was last updated.
    CreateTime string
    Output only. The timestamp when the preference set was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Output only. Name of the preference set.
    UpdateTime string
    Output only. The timestamp when the preference set was last updated.
    createTime String
    Output only. The timestamp when the preference set was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Output only. Name of the preference set.
    updateTime String
    Output only. The timestamp when the preference set was last updated.
    createTime string
    Output only. The timestamp when the preference set was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Output only. Name of the preference set.
    updateTime string
    Output only. The timestamp when the preference set was last updated.
    create_time str
    Output only. The timestamp when the preference set was created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Output only. Name of the preference set.
    update_time str
    Output only. The timestamp when the preference set was last updated.
    createTime String
    Output only. The timestamp when the preference set was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Output only. Name of the preference set.
    updateTime String
    Output only. The timestamp when the preference set was last updated.

    Look up Existing PreferenceSet Resource

    Get an existing PreferenceSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PreferenceSetState, opts?: CustomResourceOptions): PreferenceSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            preference_set_id: Optional[str] = None,
            project: Optional[str] = None,
            update_time: Optional[str] = None,
            virtual_machine_preferences: Optional[PreferenceSetVirtualMachinePreferencesArgs] = None) -> PreferenceSet
    func GetPreferenceSet(ctx *Context, name string, id IDInput, state *PreferenceSetState, opts ...ResourceOption) (*PreferenceSet, error)
    public static PreferenceSet Get(string name, Input<string> id, PreferenceSetState? state, CustomResourceOptions? opts = null)
    public static PreferenceSet get(String name, Output<String> id, PreferenceSetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    Output only. The timestamp when the preference set was created.
    Description string
    A description of the preference set.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Location string
    Part of parent. See documentation of projectsId.
    Name string
    Output only. Name of the preference set.
    PreferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    UpdateTime string
    Output only. The timestamp when the preference set was last updated.
    VirtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    CreateTime string
    Output only. The timestamp when the preference set was created.
    Description string
    A description of the preference set.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Location string
    Part of parent. See documentation of projectsId.
    Name string
    Output only. Name of the preference set.
    PreferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    UpdateTime string
    Output only. The timestamp when the preference set was last updated.
    VirtualMachinePreferences PreferenceSetVirtualMachinePreferencesArgs
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    createTime String
    Output only. The timestamp when the preference set was created.
    description String
    A description of the preference set.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    location String
    Part of parent. See documentation of projectsId.
    name String
    Output only. Name of the preference set.
    preferenceSetId String
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime String
    Output only. The timestamp when the preference set was last updated.
    virtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    createTime string
    Output only. The timestamp when the preference set was created.
    description string
    A description of the preference set.
    displayName string
    User-friendly display name. Maximum length is 63 characters.
    location string
    Part of parent. See documentation of projectsId.
    name string
    Output only. Name of the preference set.
    preferenceSetId string
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime string
    Output only. The timestamp when the preference set was last updated.
    virtualMachinePreferences PreferenceSetVirtualMachinePreferences
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    create_time str
    Output only. The timestamp when the preference set was created.
    description str
    A description of the preference set.
    display_name str
    User-friendly display name. Maximum length is 63 characters.
    location str
    Part of parent. See documentation of projectsId.
    name str
    Output only. Name of the preference set.
    preference_set_id str
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    update_time str
    Output only. The timestamp when the preference set was last updated.
    virtual_machine_preferences PreferenceSetVirtualMachinePreferencesArgs
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.
    createTime String
    Output only. The timestamp when the preference set was created.
    description String
    A description of the preference set.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    location String
    Part of parent. See documentation of projectsId.
    name String
    Output only. Name of the preference set.
    preferenceSetId String
    Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression a-z?.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime String
    Output only. The timestamp when the preference set was last updated.
    virtualMachinePreferences Property Map
    VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. Structure is documented below.

    Supporting Types

    PreferenceSetVirtualMachinePreferences, PreferenceSetVirtualMachinePreferencesArgs

    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    ComputeEnginePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferences
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    RegionPreferences PreferenceSetVirtualMachinePreferencesRegionPreferences
    The user preferences relating to target regions. Structure is documented below.
    SizingOptimizationStrategy string
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    SoleTenancyPreferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    TargetProduct string
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    VmwareEnginePreferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    ComputeEnginePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferences
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    RegionPreferences PreferenceSetVirtualMachinePreferencesRegionPreferences
    The user preferences relating to target regions. Structure is documented below.
    SizingOptimizationStrategy string
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    SoleTenancyPreferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    TargetProduct string
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    VmwareEnginePreferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    computeEnginePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferences
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    regionPreferences PreferenceSetVirtualMachinePreferencesRegionPreferences
    The user preferences relating to target regions. Structure is documented below.
    sizingOptimizationStrategy String
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    soleTenancyPreferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    targetProduct String
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    vmwareEnginePreferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
    commitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    computeEnginePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferences
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    regionPreferences PreferenceSetVirtualMachinePreferencesRegionPreferences
    The user preferences relating to target regions. Structure is documented below.
    sizingOptimizationStrategy string
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    soleTenancyPreferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    targetProduct string
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    vmwareEnginePreferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
    commitment_plan str
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    compute_engine_preferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferences
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    region_preferences PreferenceSetVirtualMachinePreferencesRegionPreferences
    The user preferences relating to target regions. Structure is documented below.
    sizing_optimization_strategy str
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    sole_tenancy_preferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    target_product str
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    vmware_engine_preferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, COMMITMENT_PLAN_NONE, COMMITMENT_PLAN_ONE_YEAR, COMMITMENT_PLAN_THREE_YEARS
    computeEnginePreferences Property Map
    The user preferences relating to Compute Engine target platform. Structure is documented below.
    regionPreferences Property Map
    The user preferences relating to target regions. Structure is documented below.
    sizingOptimizationStrategy String
    Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. Possible values: SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED, SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE, SIZING_OPTIMIZATION_STRATEGY_MODERATE, SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
    soleTenancyPreferences Property Map
    Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
    targetProduct String
    Target product for assets using this preference set. Specify either target product or business goal, but not both. Possible values: COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED, COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE, COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
    vmwareEnginePreferences Property Map
    The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.

    PreferenceSetVirtualMachinePreferencesComputeEnginePreferences, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs

    LicenseType string
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    MachinePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.
    LicenseType string
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    MachinePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.
    licenseType String
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    machinePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.
    licenseType string
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    machinePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.
    license_type str
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    machine_preferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.
    licenseType String
    License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: LICENSE_TYPE_UNSPECIFIED, LICENSE_TYPE_DEFAULT, LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
    machinePreferences Property Map
    The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. Structure is documented below.

    PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs

    AllowedMachineSeries List<PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries>
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.
    AllowedMachineSeries []PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.
    allowedMachineSeries List<PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries>
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.
    allowedMachineSeries PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries[]
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.
    allowed_machine_series Sequence[PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries]
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.
    allowedMachineSeries List<Property Map>
    Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.

    PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs

    Code string
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
    Code string
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
    code String
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
    code string
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
    code str
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
    code String
    Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

    PreferenceSetVirtualMachinePreferencesRegionPreferences, PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs

    PreferredRegions List<string>
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
    PreferredRegions []string
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
    preferredRegions List<String>
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
    preferredRegions string[]
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
    preferred_regions Sequence[str]
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
    preferredRegions List<String>
    A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

    PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences, PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs

    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    CpuOvercommitRatio double
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    HostMaintenancePolicy string
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    NodeTypes List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType>
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    CpuOvercommitRatio float64
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    HostMaintenancePolicy string
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    NodeTypes []PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    cpuOvercommitRatio Double
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    hostMaintenancePolicy String
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    nodeTypes List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType>
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
    commitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    cpuOvercommitRatio number
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    hostMaintenancePolicy string
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    nodeTypes PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType[]
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
    commitment_plan str
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    cpu_overcommit_ratio float
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    host_maintenance_policy str
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    node_types Sequence[PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType]
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
    cpuOvercommitRatio Number
    CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
    hostMaintenancePolicy String
    Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
    nodeTypes List<Property Map>
    A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.

    PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType, PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs

    NodeName string
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
    NodeName string
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
    nodeName String
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
    nodeName string
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
    node_name str
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
    nodeName String
    Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

    PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences, PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs

    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    CpuOvercommitRatio double
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    MemoryOvercommitRatio double
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    StorageDeduplicationCompressionRatio double
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
    CommitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    CpuOvercommitRatio float64
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    MemoryOvercommitRatio float64
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    StorageDeduplicationCompressionRatio float64
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    cpuOvercommitRatio Double
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    memoryOvercommitRatio Double
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    storageDeduplicationCompressionRatio Double
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
    commitmentPlan string
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    cpuOvercommitRatio number
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    memoryOvercommitRatio number
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    storageDeduplicationCompressionRatio number
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
    commitment_plan str
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    cpu_overcommit_ratio float
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    memory_overcommit_ratio float
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    storage_deduplication_compression_ratio float
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
    commitmentPlan String
    Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR_MONTHLY_PAYMENTS, COMMITMENT_3_YEAR_MONTHLY_PAYMENTS, COMMITMENT_1_YEAR_UPFRONT_PAYMENT, COMMITMENT_3_YEAR_UPFRONT_PAYMENT,
    cpuOvercommitRatio Number
    CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
    memoryOvercommitRatio Number
    Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
    storageDeduplicationCompressionRatio Number
    The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.

    Import

    PreferenceSet can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/preferenceSets/{{preference_set_id}}

    • {{project}}/{{location}}/{{preference_set_id}}

    • {{location}}/{{preference_set_id}}

    When using the pulumi import command, PreferenceSet can be imported using one of the formats above. For example:

    $ pulumi import gcp:migrationcenter/preferenceSet:PreferenceSet default projects/{{project}}/locations/{{location}}/preferenceSets/{{preference_set_id}}
    
    $ pulumi import gcp:migrationcenter/preferenceSet:PreferenceSet default {{project}}/{{location}}/{{preference_set_id}}
    
    $ pulumi import gcp:migrationcenter/preferenceSet:PreferenceSet default {{location}}/{{preference_set_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi