gcp.migrationcenter.PreferenceSet
Explore with Pulumi AI
Manages the PreferenceSet resource.
To get more information about PreferenceSet, see:
- API documentation
- How-to Guides
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=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesArgs(
vmware_engine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs(
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/v7/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=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesArgs(
vmware_engine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs(
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=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs(
preferred_regions=["us-central1"],
),
sole_tenancy_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs(
commitment_plan="ON_DEMAND",
cpu_overcommit_ratio=1.2,
host_maintenance_policy="HOST_MAINTENANCE_POLICY_DEFAULT",
node_types=[gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs(
node_name="tf-test",
)],
),
compute_engine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs(
license_type="LICENSE_TYPE_BRING_YOUR_OWN_LICENSE",
machine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs(
allowed_machine_series=[gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs(
code="C3",
)],
),
),
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesArgs(
commitment_plan="string",
compute_engine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs(
license_type="string",
machine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs(
allowed_machine_series=[gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs(
code="string",
)],
),
),
region_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs(
preferred_regions=["string"],
),
sizing_optimization_strategy="string",
sole_tenancy_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs(
commitment_plan="string",
cpu_overcommit_ratio=0,
host_maintenance_policy="string",
node_types=[gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs(
node_name="string",
)],
),
target_product="string",
vmware_engine_preferences=gcp.migrationcenter.PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs(
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
The PreferenceSet resource accepts the following input properties:
- Location string
- Part of
parent
. See documentation ofprojectsId
. - Preference
Set stringId - 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.
- Display
Name 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.
- Virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 ofprojectsId
. - Preference
Set stringId - 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.
- Display
Name 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.
- Virtual
Machine PreferencePreferences Set Virtual Machine Preferences Args - 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 ofprojectsId
. - preference
Set StringId - 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.
- display
Name 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.
- virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 ofprojectsId
. - preference
Set stringId - 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.
- display
Name 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.
- virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 ofprojectsId
. - preference_
set_ strid - 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_ Preferencepreferences Set Virtual Machine Preferences Args - 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 ofprojectsId
. - preference
Set StringId - 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.
- display
Name 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.
- virtual
Machine Property MapPreferences - 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:
- Create
Time 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.
- Update
Time string - Output only. The timestamp when the preference set was last updated.
- Create
Time 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.
- Update
Time string - Output only. The timestamp when the preference set was last updated.
- create
Time 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.
- update
Time String - Output only. The timestamp when the preference set was last updated.
- create
Time 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.
- update
Time 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.
- create
Time 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.
- update
Time 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.
- Create
Time string - Output only. The timestamp when the preference set was created.
- Description string
- A description of the preference set.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Location string
- Part of
parent
. See documentation ofprojectsId
. - Name string
- Output only. Name of the preference set.
- Preference
Set stringId - 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.
- Update
Time string - Output only. The timestamp when the preference set was last updated.
- Virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 string - Output only. The timestamp when the preference set was created.
- Description string
- A description of the preference set.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Location string
- Part of
parent
. See documentation ofprojectsId
. - Name string
- Output only. Name of the preference set.
- Preference
Set stringId - 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.
- Update
Time string - Output only. The timestamp when the preference set was last updated.
- Virtual
Machine PreferencePreferences Set Virtual Machine Preferences Args - 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 String - Output only. The timestamp when the preference set was created.
- description String
- A description of the preference set.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- location String
- Part of
parent
. See documentation ofprojectsId
. - name String
- Output only. Name of the preference set.
- preference
Set StringId - 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.
- update
Time String - Output only. The timestamp when the preference set was last updated.
- virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 string - Output only. The timestamp when the preference set was created.
- description string
- A description of the preference set.
- display
Name string - User-friendly display name. Maximum length is 63 characters.
- location string
- Part of
parent
. See documentation ofprojectsId
. - name string
- Output only. Name of the preference set.
- preference
Set stringId - 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.
- update
Time string - Output only. The timestamp when the preference set was last updated.
- virtual
Machine PreferencePreferences Set Virtual Machine Preferences - 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 ofprojectsId
. - name str
- Output only. Name of the preference set.
- preference_
set_ strid - 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_ Preferencepreferences Set Virtual Machine Preferences Args - 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 String - Output only. The timestamp when the preference set was created.
- description String
- A description of the preference set.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- location String
- Part of
parent
. See documentation ofprojectsId
. - name String
- Output only. Name of the preference set.
- preference
Set StringId - 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.
- update
Time String - Output only. The timestamp when the preference set was last updated.
- virtual
Machine Property MapPreferences - 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
- Commitment
Plan 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
- Compute
Engine PreferencePreferences Set Virtual Machine Preferences Compute Engine Preferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- Region
Preferences PreferenceSet Virtual Machine Preferences Region Preferences - The user preferences relating to target regions. Structure is documented below.
- Sizing
Optimization stringStrategy - 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 PreferencePreferences Set Virtual Machine Preferences Sole Tenancy Preferences - Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
- Target
Product 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
- Vmware
Engine PreferencePreferences Set Virtual Machine Preferences Vmware Engine Preferences - The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
- Commitment
Plan 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
- Compute
Engine PreferencePreferences Set Virtual Machine Preferences Compute Engine Preferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- Region
Preferences PreferenceSet Virtual Machine Preferences Region Preferences - The user preferences relating to target regions. Structure is documented below.
- Sizing
Optimization stringStrategy - 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 PreferencePreferences Set Virtual Machine Preferences Sole Tenancy Preferences - Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
- Target
Product 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
- Vmware
Engine PreferencePreferences Set Virtual Machine Preferences Vmware Engine Preferences - The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
- commitment
Plan 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
- compute
Engine PreferencePreferences Set Virtual Machine Preferences Compute Engine Preferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- region
Preferences PreferenceSet Virtual Machine Preferences Region Preferences - The user preferences relating to target regions. Structure is documented below.
- sizing
Optimization StringStrategy - 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 PreferencePreferences Set Virtual Machine Preferences Sole Tenancy Preferences - Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
- target
Product 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
- vmware
Engine PreferencePreferences Set Virtual Machine Preferences Vmware Engine Preferences - The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
- commitment
Plan 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
- compute
Engine PreferencePreferences Set Virtual Machine Preferences Compute Engine Preferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- region
Preferences PreferenceSet Virtual Machine Preferences Region Preferences - The user preferences relating to target regions. Structure is documented below.
- sizing
Optimization stringStrategy - 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 PreferencePreferences Set Virtual Machine Preferences Sole Tenancy Preferences - Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
- target
Product 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
- vmware
Engine PreferencePreferences Set Virtual Machine Preferences Vmware Engine Preferences - 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_ Preferencepreferences Set Virtual Machine Preferences Compute Engine Preferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- region_
preferences PreferenceSet Virtual Machine Preferences Region Preferences - The user preferences relating to target regions. Structure is documented below.
- sizing_
optimization_ strstrategy - 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_ Preferencepreferences Set Virtual Machine Preferences Sole Tenancy Preferences - 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_ Preferencepreferences Set Virtual Machine Preferences Vmware Engine Preferences - The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
- commitment
Plan 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
- compute
Engine Property MapPreferences - The user preferences relating to Compute Engine target platform. Structure is documented below.
- region
Preferences Property Map - The user preferences relating to target regions. Structure is documented below.
- sizing
Optimization StringStrategy - 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 Property MapPreferences - Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.
- target
Product 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
- vmware
Engine Property MapPreferences - The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.
PreferenceSetVirtualMachinePreferencesComputeEnginePreferences, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs
- License
Type 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
- Machine
Preferences PreferenceSet Virtual Machine Preferences Compute Engine Preferences Machine Preferences - 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 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
- Machine
Preferences PreferenceSet Virtual Machine Preferences Compute Engine Preferences Machine Preferences - 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 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
- machine
Preferences PreferenceSet Virtual Machine Preferences Compute Engine Preferences Machine Preferences - 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 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
- machine
Preferences PreferenceSet Virtual Machine Preferences Compute Engine Preferences Machine Preferences - 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 PreferenceSet Virtual Machine Preferences Compute Engine Preferences Machine Preferences - 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 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
- machine
Preferences 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
- Allowed
Machine List<PreferenceSeries Set Virtual Machine Preferences Compute Engine Preferences Machine Preferences Allowed Machine Series> - 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 []PreferenceSeries Set Virtual Machine Preferences Compute Engine Preferences Machine Preferences Allowed Machine Series - 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 List<PreferenceSeries Set Virtual Machine Preferences Compute Engine Preferences Machine Preferences Allowed Machine Series> - 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 PreferenceSeries Set Virtual Machine Preferences Compute Engine Preferences Machine Preferences Allowed Machine Series[] - 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_ Sequence[Preferenceseries Set Virtual Machine Preferences Compute Engine Preferences Machine Preferences Allowed Machine Series] - 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 List<Property Map>Series - 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
- Preferred
Regions 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.
- Preferred
Regions []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 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.
- preferred
Regions 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.
- preferred
Regions 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
- Commitment
Plan 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
- Cpu
Overcommit doubleRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- Host
Maintenance stringPolicy - 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 List<PreferenceSet Virtual Machine Preferences Sole Tenancy Preferences Node Type> - 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 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
- Cpu
Overcommit float64Ratio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- Host
Maintenance stringPolicy - 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 []PreferenceSet Virtual Machine Preferences Sole Tenancy Preferences Node Type - 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 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
- cpu
Overcommit DoubleRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- host
Maintenance StringPolicy - 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 List<PreferenceSet Virtual Machine Preferences Sole Tenancy Preferences Node Type> - 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 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
- cpu
Overcommit numberRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- host
Maintenance stringPolicy - 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 PreferenceSet Virtual Machine Preferences Sole Tenancy Preferences Node Type[] - 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_ floatratio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- host_
maintenance_ strpolicy - 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[PreferenceSet Virtual Machine Preferences Sole Tenancy Preferences Node Type] - 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 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
- cpu
Overcommit NumberRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
- host
Maintenance StringPolicy - 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 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
- Node
Name string - Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
- Node
Name string - Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
- node
Name String - Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
- node
Name 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
- node
Name String - Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences, PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs
- Commitment
Plan 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
- Cpu
Overcommit doubleRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- Memory
Overcommit doubleRatio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- Storage
Deduplication doubleCompression Ratio - 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 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
- Cpu
Overcommit float64Ratio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- Memory
Overcommit float64Ratio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- Storage
Deduplication float64Compression Ratio - 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 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
- cpu
Overcommit DoubleRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- memory
Overcommit DoubleRatio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- storage
Deduplication DoubleCompression Ratio - 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 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
- cpu
Overcommit numberRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- memory
Overcommit numberRatio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- storage
Deduplication numberCompression Ratio - 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_ floatratio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- memory_
overcommit_ floatratio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- storage_
deduplication_ floatcompression_ ratio - 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 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
- cpu
Overcommit NumberRatio - CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
- memory
Overcommit NumberRatio - Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
- storage
Deduplication NumberCompression Ratio - 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.