PreferenceSetArgs class
The set of arguments for PreferenceSet. The set of arguments for PreferenceSet.
Constructors
-
PreferenceSetArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, required Input<String> location, required Input<String> preferenceSetId, Input<String?> ? project, Input<PreferenceSetVirtualMachinePreferences?> ? virtualMachinePreferences}) -
Creates a new PreferenceSetArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionA description of the preference set.displayNameUser-friendly display name. Maximum length is 63 characters.locationPart ofparent. See documentation ofprojectsId.preferenceSetIdRequired. 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 expressiona-z?.projectThe ID of the project in which the resource belongs.virtualMachinePreferencesVirtualMachinePreferences 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.const -
PreferenceSetArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
A description of the preference set.
final
-
displayName
→ Input<
String?> ? -
User-friendly display name. Maximum length is 63 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
Part of
parent. See documentation ofprojectsId.final -
preferenceSetId
→ Input<
String> -
Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression
a-z?.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
virtualMachinePreferences
→ Input<
PreferenceSetVirtualMachinePreferences?> ? -
VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited