migrationcenter

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	pulumi.CustomResourceState

	// Output only. The timestamp when the group was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. The description of the group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Optional. User-friendly display name.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Required. User specified ID for the group. It will become the last component of the group 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?`.
	//
	// ***
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// Labels as key value pairs.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location of the group.
	Location pulumi.StringOutput `pulumi:"location"`
	// Output only. The name of the group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. The timestamp when the group was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group.

## Example Usage

### Migration Group Basic

```go 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.NewGroup(ctx, "default", &migrationcenter.GroupArgs{
			Location:    pulumi.String("us-central1"),
			GroupId:     pulumi.String("group-test"),
			Description: pulumi.String("Terraform integration test description"),
			DisplayName: pulumi.String("Terraform integration test display"),
			Labels: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Group can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/groups/{{group_id}}`

* `{{project}}/{{location}}/{{group_id}}`

* `{{location}}/{{group_id}}`

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

```sh $ pulumi import gcp:migrationcenter/group:Group default projects/{{project}}/locations/{{location}}/groups/{{group_id}} ```

```sh $ pulumi import gcp:migrationcenter/group:Group default {{project}}/{{location}}/{{group_id}} ```

```sh $ pulumi import gcp:migrationcenter/group:Group default {{location}}/{{group_id}} ```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// Optional. The description of the group.
	Description pulumi.StringPtrInput
	// Optional. User-friendly display name.
	DisplayName pulumi.StringPtrInput
	// Required. User specified ID for the group. It will become the last component of the group 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?`.
	//
	// ***
	GroupId pulumi.StringInput
	// Labels as key value pairs.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the group.
	Location pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) CreateTime

func (o GroupOutput) CreateTime() pulumi.StringOutput

Output only. The timestamp when the group was created.

func (GroupOutput) Description

func (o GroupOutput) Description() pulumi.StringPtrOutput

Optional. The description of the group.

func (GroupOutput) DisplayName

func (o GroupOutput) DisplayName() pulumi.StringPtrOutput

Optional. User-friendly display name.

func (GroupOutput) EffectiveLabels

func (o GroupOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) GroupId

func (o GroupOutput) GroupId() pulumi.StringOutput

Required. User specified ID for the group. It will become the last component of the group 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?`.

***

func (GroupOutput) Labels

func (o GroupOutput) Labels() pulumi.StringMapOutput

Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (GroupOutput) Location

func (o GroupOutput) Location() pulumi.StringOutput

The location of the group.

func (GroupOutput) Name

func (o GroupOutput) Name() pulumi.StringOutput

Output only. The name of the group.

func (GroupOutput) Project

func (o GroupOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (GroupOutput) PulumiLabels

func (o GroupOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) UpdateTime

func (o GroupOutput) UpdateTime() pulumi.StringOutput

Output only. The timestamp when the group was last updated.

type GroupState

type GroupState struct {
	// Output only. The timestamp when the group was created.
	CreateTime pulumi.StringPtrInput
	// Optional. The description of the group.
	Description pulumi.StringPtrInput
	// Optional. User-friendly display name.
	DisplayName pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Required. User specified ID for the group. It will become the last component of the group 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?`.
	//
	// ***
	GroupId pulumi.StringPtrInput
	// Labels as key value pairs.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location of the group.
	Location pulumi.StringPtrInput
	// Output only. The name of the group.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. The timestamp when the group was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type PreferenceSet added in v7.12.0

type PreferenceSet struct {
	pulumi.CustomResourceState

	// Output only. The timestamp when the preference set was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A description of the preference set.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// User-friendly display name. Maximum length is 63 characters.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// Part of `parent`. See documentation of `projectsId`.
	Location pulumi.StringOutput `pulumi:"location"`
	// Output only. Name of the preference set.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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?`.
	//
	// ***
	PreferenceSetId pulumi.StringOutput `pulumi:"preferenceSetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Output only. The timestamp when the preference set was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// 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.
	VirtualMachinePreferences PreferenceSetVirtualMachinePreferencesPtrOutput `pulumi:"virtualMachinePreferences"`
}

Manages the PreferenceSet resource.

To get more information about PreferenceSet, see:

* [API documentation](https://cloud.google.com/migration-center/docs/reference/rest/v1) * How-to Guides

## Example Usage

### Preference Set Basic

```go 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
	})
}

``` ### Preference Set Full

```go 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
	})
}

```

## 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:

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

```sh $ pulumi import gcp:migrationcenter/preferenceSet:PreferenceSet default {{project}}/{{location}}/{{preference_set_id}} ```

```sh $ pulumi import gcp:migrationcenter/preferenceSet:PreferenceSet default {{location}}/{{preference_set_id}} ```

func GetPreferenceSet added in v7.12.0

func GetPreferenceSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PreferenceSetState, opts ...pulumi.ResourceOption) (*PreferenceSet, error)

GetPreferenceSet gets an existing PreferenceSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPreferenceSet added in v7.12.0

func NewPreferenceSet(ctx *pulumi.Context,
	name string, args *PreferenceSetArgs, opts ...pulumi.ResourceOption) (*PreferenceSet, error)

NewPreferenceSet registers a new resource with the given unique name, arguments, and options.

func (*PreferenceSet) ElementType added in v7.12.0

func (*PreferenceSet) ElementType() reflect.Type

func (*PreferenceSet) ToPreferenceSetOutput added in v7.12.0

func (i *PreferenceSet) ToPreferenceSetOutput() PreferenceSetOutput

func (*PreferenceSet) ToPreferenceSetOutputWithContext added in v7.12.0

func (i *PreferenceSet) ToPreferenceSetOutputWithContext(ctx context.Context) PreferenceSetOutput

type PreferenceSetArgs added in v7.12.0

type PreferenceSetArgs struct {
	// A description of the preference set.
	Description pulumi.StringPtrInput
	// User-friendly display name. Maximum length is 63 characters.
	DisplayName pulumi.StringPtrInput
	// Part of `parent`. See documentation of `projectsId`.
	Location pulumi.StringInput
	// 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?`.
	//
	// ***
	PreferenceSetId pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// 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.
	VirtualMachinePreferences PreferenceSetVirtualMachinePreferencesPtrInput
}

The set of arguments for constructing a PreferenceSet resource.

func (PreferenceSetArgs) ElementType added in v7.12.0

func (PreferenceSetArgs) ElementType() reflect.Type

type PreferenceSetArray added in v7.12.0

type PreferenceSetArray []PreferenceSetInput

func (PreferenceSetArray) ElementType added in v7.12.0

func (PreferenceSetArray) ElementType() reflect.Type

func (PreferenceSetArray) ToPreferenceSetArrayOutput added in v7.12.0

func (i PreferenceSetArray) ToPreferenceSetArrayOutput() PreferenceSetArrayOutput

func (PreferenceSetArray) ToPreferenceSetArrayOutputWithContext added in v7.12.0

func (i PreferenceSetArray) ToPreferenceSetArrayOutputWithContext(ctx context.Context) PreferenceSetArrayOutput

type PreferenceSetArrayInput added in v7.12.0

type PreferenceSetArrayInput interface {
	pulumi.Input

	ToPreferenceSetArrayOutput() PreferenceSetArrayOutput
	ToPreferenceSetArrayOutputWithContext(context.Context) PreferenceSetArrayOutput
}

PreferenceSetArrayInput is an input type that accepts PreferenceSetArray and PreferenceSetArrayOutput values. You can construct a concrete instance of `PreferenceSetArrayInput` via:

PreferenceSetArray{ PreferenceSetArgs{...} }

type PreferenceSetArrayOutput added in v7.12.0

type PreferenceSetArrayOutput struct{ *pulumi.OutputState }

func (PreferenceSetArrayOutput) ElementType added in v7.12.0

func (PreferenceSetArrayOutput) ElementType() reflect.Type

func (PreferenceSetArrayOutput) Index added in v7.12.0

func (PreferenceSetArrayOutput) ToPreferenceSetArrayOutput added in v7.12.0

func (o PreferenceSetArrayOutput) ToPreferenceSetArrayOutput() PreferenceSetArrayOutput

func (PreferenceSetArrayOutput) ToPreferenceSetArrayOutputWithContext added in v7.12.0

func (o PreferenceSetArrayOutput) ToPreferenceSetArrayOutputWithContext(ctx context.Context) PreferenceSetArrayOutput

type PreferenceSetInput added in v7.12.0

type PreferenceSetInput interface {
	pulumi.Input

	ToPreferenceSetOutput() PreferenceSetOutput
	ToPreferenceSetOutputWithContext(ctx context.Context) PreferenceSetOutput
}

type PreferenceSetMap added in v7.12.0

type PreferenceSetMap map[string]PreferenceSetInput

func (PreferenceSetMap) ElementType added in v7.12.0

func (PreferenceSetMap) ElementType() reflect.Type

func (PreferenceSetMap) ToPreferenceSetMapOutput added in v7.12.0

func (i PreferenceSetMap) ToPreferenceSetMapOutput() PreferenceSetMapOutput

func (PreferenceSetMap) ToPreferenceSetMapOutputWithContext added in v7.12.0

func (i PreferenceSetMap) ToPreferenceSetMapOutputWithContext(ctx context.Context) PreferenceSetMapOutput

type PreferenceSetMapInput added in v7.12.0

type PreferenceSetMapInput interface {
	pulumi.Input

	ToPreferenceSetMapOutput() PreferenceSetMapOutput
	ToPreferenceSetMapOutputWithContext(context.Context) PreferenceSetMapOutput
}

PreferenceSetMapInput is an input type that accepts PreferenceSetMap and PreferenceSetMapOutput values. You can construct a concrete instance of `PreferenceSetMapInput` via:

PreferenceSetMap{ "key": PreferenceSetArgs{...} }

type PreferenceSetMapOutput added in v7.12.0

type PreferenceSetMapOutput struct{ *pulumi.OutputState }

func (PreferenceSetMapOutput) ElementType added in v7.12.0

func (PreferenceSetMapOutput) ElementType() reflect.Type

func (PreferenceSetMapOutput) MapIndex added in v7.12.0

func (PreferenceSetMapOutput) ToPreferenceSetMapOutput added in v7.12.0

func (o PreferenceSetMapOutput) ToPreferenceSetMapOutput() PreferenceSetMapOutput

func (PreferenceSetMapOutput) ToPreferenceSetMapOutputWithContext added in v7.12.0

func (o PreferenceSetMapOutput) ToPreferenceSetMapOutputWithContext(ctx context.Context) PreferenceSetMapOutput

type PreferenceSetOutput added in v7.12.0

type PreferenceSetOutput struct{ *pulumi.OutputState }

func (PreferenceSetOutput) CreateTime added in v7.12.0

func (o PreferenceSetOutput) CreateTime() pulumi.StringOutput

Output only. The timestamp when the preference set was created.

func (PreferenceSetOutput) Description added in v7.12.0

func (o PreferenceSetOutput) Description() pulumi.StringPtrOutput

A description of the preference set.

func (PreferenceSetOutput) DisplayName added in v7.12.0

func (o PreferenceSetOutput) DisplayName() pulumi.StringPtrOutput

User-friendly display name. Maximum length is 63 characters.

func (PreferenceSetOutput) ElementType added in v7.12.0

func (PreferenceSetOutput) ElementType() reflect.Type

func (PreferenceSetOutput) Location added in v7.12.0

Part of `parent`. See documentation of `projectsId`.

func (PreferenceSetOutput) Name added in v7.12.0

Output only. Name of the preference set.

func (PreferenceSetOutput) PreferenceSetId added in v7.12.0

func (o PreferenceSetOutput) PreferenceSetId() pulumi.StringOutput

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?`.

***

func (PreferenceSetOutput) Project added in v7.12.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (PreferenceSetOutput) ToPreferenceSetOutput added in v7.12.0

func (o PreferenceSetOutput) ToPreferenceSetOutput() PreferenceSetOutput

func (PreferenceSetOutput) ToPreferenceSetOutputWithContext added in v7.12.0

func (o PreferenceSetOutput) ToPreferenceSetOutputWithContext(ctx context.Context) PreferenceSetOutput

func (PreferenceSetOutput) UpdateTime added in v7.12.0

func (o PreferenceSetOutput) UpdateTime() pulumi.StringOutput

Output only. The timestamp when the preference set was last updated.

func (PreferenceSetOutput) VirtualMachinePreferences added in v7.12.0

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.

type PreferenceSetState added in v7.12.0

type PreferenceSetState struct {
	// Output only. The timestamp when the preference set was created.
	CreateTime pulumi.StringPtrInput
	// A description of the preference set.
	Description pulumi.StringPtrInput
	// User-friendly display name. Maximum length is 63 characters.
	DisplayName pulumi.StringPtrInput
	// Part of `parent`. See documentation of `projectsId`.
	Location pulumi.StringPtrInput
	// Output only. Name of the preference set.
	Name pulumi.StringPtrInput
	// 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?`.
	//
	// ***
	PreferenceSetId pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Output only. The timestamp when the preference set was last updated.
	UpdateTime pulumi.StringPtrInput
	// 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.
	VirtualMachinePreferences PreferenceSetVirtualMachinePreferencesPtrInput
}

func (PreferenceSetState) ElementType added in v7.12.0

func (PreferenceSetState) ElementType() reflect.Type

type PreferenceSetVirtualMachinePreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferences struct {
	// 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
	CommitmentPlan *string `pulumi:"commitmentPlan"`
	// The user preferences relating to Compute Engine target platform.
	// Structure is documented below.
	ComputeEnginePreferences *PreferenceSetVirtualMachinePreferencesComputeEnginePreferences `pulumi:"computeEnginePreferences"`
	// The user preferences relating to target regions.
	// Structure is documented below.
	RegionPreferences *PreferenceSetVirtualMachinePreferencesRegionPreferences `pulumi:"regionPreferences"`
	// 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
	SizingOptimizationStrategy *string `pulumi:"sizingOptimizationStrategy"`
	// Preferences concerning Sole Tenancy nodes and VMs.
	// Structure is documented below.
	SoleTenancyPreferences *PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences `pulumi:"soleTenancyPreferences"`
	// 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
	TargetProduct *string `pulumi:"targetProduct"`
	// The user preferences relating to Google Cloud VMware Engine target platform.
	// Structure is documented below.
	VmwareEnginePreferences *PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences `pulumi:"vmwareEnginePreferences"`
}

type PreferenceSetVirtualMachinePreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesArgs struct {
	// 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
	CommitmentPlan pulumi.StringPtrInput `pulumi:"commitmentPlan"`
	// The user preferences relating to Compute Engine target platform.
	// Structure is documented below.
	ComputeEnginePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrInput `pulumi:"computeEnginePreferences"`
	// The user preferences relating to target regions.
	// Structure is documented below.
	RegionPreferences PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrInput `pulumi:"regionPreferences"`
	// 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
	SizingOptimizationStrategy pulumi.StringPtrInput `pulumi:"sizingOptimizationStrategy"`
	// Preferences concerning Sole Tenancy nodes and VMs.
	// Structure is documented below.
	SoleTenancyPreferences PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrInput `pulumi:"soleTenancyPreferences"`
	// 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
	TargetProduct pulumi.StringPtrInput `pulumi:"targetProduct"`
	// The user preferences relating to Google Cloud VMware Engine target platform.
	// Structure is documented below.
	VmwareEnginePreferences PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrInput `pulumi:"vmwareEnginePreferences"`
}

func (PreferenceSetVirtualMachinePreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesOutput added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesOutput() PreferenceSetVirtualMachinePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesPtrOutput added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesPtrOutput

func (PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferences struct {
	// 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
	LicenseType *string `pulumi:"licenseType"`
	// 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.
	MachinePreferences *PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences `pulumi:"machinePreferences"`
}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs struct {
	// 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
	LicenseType pulumi.StringPtrInput `pulumi:"licenseType"`
	// 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.
	MachinePreferences PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrInput `pulumi:"machinePreferences"`
}

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesInput` via:

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences struct {
	// 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 `pulumi:"allowedMachineSeries"`
}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries struct {
	// 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 `pulumi:"code"`
}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs struct {
	// 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 pulumi.StringPtrInput `pulumi:"code"`
}

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray []PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesInput

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayInput` via:

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArray{ PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs{...} }

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput) Index added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesInput` via:

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs{...}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput) Code added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs struct {
	// 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 PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArrayInput `pulumi:"allowedMachineSeries"`
}

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutputWithContext added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesInput` via:

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) AllowedMachineSeries added in v7.12.0

Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutputWithContext added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtr and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput) AllowedMachineSeries added in v7.12.0

Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesPtrOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) LicenseType added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) MachinePreferences added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs, PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtr and PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) LicenseType added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) MachinePreferences added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesOutput() PreferenceSetVirtualMachinePreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesOutput
}

PreferenceSetVirtualMachinePreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesArgs and PreferenceSetVirtualMachinePreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesInput` via:

PreferenceSetVirtualMachinePreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesOutput) ComputeEnginePreferences added in v7.12.0

The user preferences relating to Compute Engine target platform. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesOutput) RegionPreferences added in v7.12.0

The user preferences relating to target regions. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesOutput) SizingOptimizationStrategy added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesOutput) SoleTenancyPreferences added in v7.12.0

Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesOutput) TargetProduct added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesOutput added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesOutput() PreferenceSetVirtualMachinePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutput added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesPtrOutput

func (PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesPtrOutput

func (PreferenceSetVirtualMachinePreferencesOutput) VmwareEnginePreferences added in v7.12.0

The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.

type PreferenceSetVirtualMachinePreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesArgs, PreferenceSetVirtualMachinePreferencesPtr and PreferenceSetVirtualMachinePreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesPtrOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesPtrOutput) ComputeEnginePreferences added in v7.12.0

The user preferences relating to Compute Engine target platform. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesPtrOutput) RegionPreferences added in v7.12.0

The user preferences relating to target regions. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesPtrOutput) SizingOptimizationStrategy added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesPtrOutput) SoleTenancyPreferences added in v7.12.0

Preferences concerning Sole Tenancy nodes and VMs. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesPtrOutput) TargetProduct added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutput added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesPtrOutput

func (PreferenceSetVirtualMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesPtrOutput

func (PreferenceSetVirtualMachinePreferencesPtrOutput) VmwareEnginePreferences added in v7.12.0

The user preferences relating to Google Cloud VMware Engine target platform. Structure is documented below.

type PreferenceSetVirtualMachinePreferencesRegionPreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferences struct {
	// 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 `pulumi:"preferredRegions"`
}

type PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs struct {
	// 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 pulumi.StringArrayInput `pulumi:"preferredRegions"`
}

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesRegionPreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutput() PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput
}

PreferenceSetVirtualMachinePreferencesRegionPreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs and PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesRegionPreferencesInput` via:

PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) PreferredRegions added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesRegionPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs, PreferenceSetVirtualMachinePreferencesRegionPreferencesPtr and PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) PreferredRegions added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesRegionPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences struct {
	// 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
	CommitmentPlan *string `pulumi:"commitmentPlan"`
	// CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
	CpuOvercommitRatio *float64 `pulumi:"cpuOvercommitRatio"`
	// 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
	HostMaintenancePolicy *string `pulumi:"hostMaintenancePolicy"`
	// A list of sole tenant node types. An empty list means that all possible node types will be considered.
	// Structure is documented below.
	NodeTypes []PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType `pulumi:"nodeTypes"`
}

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs struct {
	// 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
	CommitmentPlan pulumi.StringPtrInput `pulumi:"commitmentPlan"`
	// CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
	CpuOvercommitRatio pulumi.Float64PtrInput `pulumi:"cpuOvercommitRatio"`
	// 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
	HostMaintenancePolicy pulumi.StringPtrInput `pulumi:"hostMaintenancePolicy"`
	// A list of sole tenant node types. An empty list means that all possible node types will be considered.
	// Structure is documented below.
	NodeTypes PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayInput `pulumi:"nodeTypes"`
}

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput() PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput
}

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs and PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesInput` via:

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType struct {
	// Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
	NodeName *string `pulumi:"nodeName"`
}

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs struct {
	// Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
	NodeName pulumi.StringPtrInput `pulumi:"nodeName"`
}

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray []PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeInput

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput() PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput
	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput
}

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayInput is an input type that accepts PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray and PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayInput` via:

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArray{ PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs{...} }

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput) Index added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArrayOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput() PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput
	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput
}

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeInput is an input type that accepts PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs and PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeInput` via:

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs{...}

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput) NodeName added in v7.12.0

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeOutputWithContext added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) CpuOvercommitRatio added in v7.12.0

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) HostMaintenancePolicy added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) NodeTypes added in v7.12.0

A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs, PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtr and PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) CpuOvercommitRatio added in v7.12.0

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) HostMaintenancePolicy added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) NodeTypes added in v7.12.0

A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferences struct {
	// 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
	CommitmentPlan *string `pulumi:"commitmentPlan"`
	// CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
	CpuOvercommitRatio *float64 `pulumi:"cpuOvercommitRatio"`
	// Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
	MemoryOvercommitRatio *float64 `pulumi:"memoryOvercommitRatio"`
	// 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.
	StorageDeduplicationCompressionRatio *float64 `pulumi:"storageDeduplicationCompressionRatio"`
}

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs struct {
	// 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
	CommitmentPlan pulumi.StringPtrInput `pulumi:"commitmentPlan"`
	// CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
	CpuOvercommitRatio pulumi.Float64PtrInput `pulumi:"cpuOvercommitRatio"`
	// Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
	MemoryOvercommitRatio pulumi.Float64PtrInput `pulumi:"memoryOvercommitRatio"`
	// 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.
	StorageDeduplicationCompressionRatio pulumi.Float64PtrInput `pulumi:"storageDeduplicationCompressionRatio"`
}

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext added in v7.12.0

func (i PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput() PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput
	ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput
}

PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesInput is an input type that accepts PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs and PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesInput` via:

PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs{...}

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) CpuOvercommitRatio added in v7.12.0

CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) MemoryOvercommitRatio added in v7.12.0

Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) StorageDeduplicationCompressionRatio added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrInput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrInput interface {
	pulumi.Input

	ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput() PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput
	ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext(context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput
}

PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrInput is an input type that accepts PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs, PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtr and PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput values. You can construct a concrete instance of `PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrInput` via:

        PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs{...}

or:

        nil

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput added in v7.12.0

type PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput struct{ *pulumi.OutputState }

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) CommitmentPlan added in v7.12.0

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

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) CpuOvercommitRatio added in v7.12.0

CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) Elem added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) ElementType added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) MemoryOvercommitRatio added in v7.12.0

Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) StorageDeduplicationCompressionRatio added in v7.12.0

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.

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput added in v7.12.0

func (PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext added in v7.12.0

func (o PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput) ToPreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutputWithContext(ctx context.Context) PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesPtrOutput

Jump to

Keyboard shortcuts

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