Creates a NodeGroup resource in the specified project using the data included in the request.
Create NodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def NodeGroup(resource_name: str,
args: NodeGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
initial_node_count: Optional[int] = None,
maintenance_window: Optional[NodeGroupMaintenanceWindowArgs] = None,
description: Optional[str] = None,
location_hint: Optional[str] = None,
maintenance_interval: Optional[NodeGroupMaintenanceInterval] = None,
maintenance_policy: Optional[NodeGroupMaintenancePolicy] = None,
autoscaling_policy: Optional[NodeGroupAutoscalingPolicyArgs] = None,
name: Optional[str] = None,
node_template: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
share_settings: Optional[ShareSettingsArgs] = None,
zone: Optional[str] = None)
public NodeGroup(String name, NodeGroupArgs args)
public NodeGroup(String name, NodeGroupArgs args, CustomResourceOptions options)
type: google-native:compute/beta:NodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_compute_beta_node_group" "name" {
# resource properties
}
Parameters
- name
string
- The unique name of the resource.
- args
NodeGroupArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resource.
- args
NodeGroupArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
NodeGroupArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resource.
- args
NodeGroupArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
NodeGroupArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeNodeGroupResource = new GoogleNative.Compute.Beta.NodeGroup("google-nativeNodeGroupResource", new()
{
InitialNodeCount = 0,
MaintenanceWindow = new GoogleNative.Compute.Beta.Inputs.NodeGroupMaintenanceWindowArgs
{
StartTime = "string",
},
Description = "string",
LocationHint = "string",
MaintenanceInterval = GoogleNative.Compute.Beta.NodeGroupMaintenanceInterval.AsNeeded,
MaintenancePolicy = GoogleNative.Compute.Beta.NodeGroupMaintenancePolicy.Default,
AutoscalingPolicy = new GoogleNative.Compute.Beta.Inputs.NodeGroupAutoscalingPolicyArgs
{
MaxNodes = 0,
MinNodes = 0,
Mode = GoogleNative.Compute.Beta.NodeGroupAutoscalingPolicyMode.ModeUnspecified,
},
Name = "string",
NodeTemplate = "string",
Project = "string",
RequestId = "string",
ShareSettings = new GoogleNative.Compute.Beta.Inputs.ShareSettingsArgs
{
ProjectMap =
{
{ "string", "string" },
},
Projects = new[]
{
"string",
},
ShareType = GoogleNative.Compute.Beta.ShareSettingsShareType.Local,
},
Zone = "string",
});
example, err := computebeta.NewNodeGroup(ctx, "google-nativeNodeGroupResource", &computebeta.NodeGroupArgs{
InitialNodeCount: pulumi.Int(0),
MaintenanceWindow: &compute.NodeGroupMaintenanceWindowArgs{
StartTime: pulumi.String("string"),
},
Description: pulumi.String("string"),
LocationHint: pulumi.String("string"),
MaintenanceInterval: computebeta.NodeGroupMaintenanceIntervalAsNeeded,
MaintenancePolicy: computebeta.NodeGroupMaintenancePolicyDefault,
AutoscalingPolicy: &compute.NodeGroupAutoscalingPolicyArgs{
MaxNodes: pulumi.Int(0),
MinNodes: pulumi.Int(0),
Mode: computebeta.NodeGroupAutoscalingPolicyModeModeUnspecified,
},
Name: pulumi.String("string"),
NodeTemplate: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
ShareSettings: &compute.ShareSettingsArgs{
ProjectMap: pulumi.StringMap{
"string": pulumi.String("string"),
},
Projects: pulumi.StringArray{
pulumi.String("string"),
},
ShareType: computebeta.ShareSettingsShareTypeLocal,
},
Zone: pulumi.String("string"),
})
resource "google-native_compute_beta_node_group" "google-nativeNodeGroupResource" {
lifecycle {
create_before_destroy = true
}
initial_node_count = 0
maintenance_window = {
start_time = "string"
}
description = "string"
location_hint = "string"
maintenance_interval = "AS_NEEDED"
maintenance_policy = "DEFAULT"
autoscaling_policy = {
max_nodes = 0
min_nodes = 0
mode = "MODE_UNSPECIFIED"
}
name = "string"
node_template = "string"
project = "string"
request_id = "string"
share_settings = {
project_map = {
"string" = "string"
}
projects = ["string"]
share_type = "LOCAL"
}
zone = "string"
}
var google_nativeNodeGroupResource = new com.pulumi.googlenative.compute.NodeGroup("google-nativeNodeGroupResource", com.pulumi.googlenative.compute.NodeGroupArgs.builder()
.initialNodeCount(0)
.maintenanceWindow(com.pulumi.googlenative.compute.inputs.NodeGroupMaintenanceWindowArgs.builder()
.startTime("string")
.build())
.description("string")
.locationHint("string")
.maintenanceInterval(com.pulumi.googlenative.compute_beta.enums.NodeGroupMaintenanceInterval.AsNeeded)
.maintenancePolicy(com.pulumi.googlenative.compute_beta.enums.NodeGroupMaintenancePolicy.Default)
.autoscalingPolicy(com.pulumi.googlenative.compute.inputs.NodeGroupAutoscalingPolicyArgs.builder()
.maxNodes(0)
.minNodes(0)
.mode(com.pulumi.googlenative.compute_beta.enums.NodeGroupAutoscalingPolicyMode.ModeUnspecified)
.build())
.name("string")
.nodeTemplate("string")
.project("string")
.requestId("string")
.shareSettings(com.pulumi.googlenative.compute.inputs.ShareSettingsArgs.builder()
.projectMap(Map.of("string", "string"))
.projects("string")
.shareType(com.pulumi.googlenative.compute_beta.enums.ShareSettingsShareType.Local)
.build())
.zone("string")
.build());
google_native_node_group_resource = google_native.compute.beta.NodeGroup("google-nativeNodeGroupResource",
initial_node_count=0,
maintenance_window={
"start_time": "string",
},
description="string",
location_hint="string",
maintenance_interval=google_native.compute.beta.NodeGroupMaintenanceInterval.AS_NEEDED,
maintenance_policy=google_native.compute.beta.NodeGroupMaintenancePolicy.DEFAULT,
autoscaling_policy={
"max_nodes": 0,
"min_nodes": 0,
"mode": google_native.compute.beta.NodeGroupAutoscalingPolicyMode.MODE_UNSPECIFIED,
},
name="string",
node_template="string",
project="string",
request_id="string",
share_settings={
"project_map": {
"string": "string",
},
"projects": ["string"],
"share_type": google_native.compute.beta.ShareSettingsShareType.LOCAL,
},
zone="string")
const google_nativeNodeGroupResource = new google_native.compute.beta.NodeGroup("google-nativeNodeGroupResource", {
initialNodeCount: 0,
maintenanceWindow: {
startTime: "string",
},
description: "string",
locationHint: "string",
maintenanceInterval: google_native.compute.beta.NodeGroupMaintenanceInterval.AsNeeded,
maintenancePolicy: google_native.compute.beta.NodeGroupMaintenancePolicy.Default,
autoscalingPolicy: {
maxNodes: 0,
minNodes: 0,
mode: google_native.compute.beta.NodeGroupAutoscalingPolicyMode.ModeUnspecified,
},
name: "string",
nodeTemplate: "string",
project: "string",
requestId: "string",
shareSettings: {
projectMap: {
string: "string",
},
projects: ["string"],
shareType: google_native.compute.beta.ShareSettingsShareType.Local,
},
zone: "string",
});
type: google-native:compute/beta:NodeGroup
properties:
autoscalingPolicy:
maxNodes: 0
minNodes: 0
mode: MODE_UNSPECIFIED
description: string
initialNodeCount: 0
locationHint: string
maintenanceInterval: AS_NEEDED
maintenancePolicy: DEFAULT
maintenanceWindow:
startTime: string
name: string
nodeTemplate: string
project: string
requestId: string
shareSettings:
projectMap:
string: string
projects:
- string
shareType: LOCAL
zone: string
NodeGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NodeGroup resource accepts the following input properties:
- InitialNodeCount
int
- Initial count of nodes in the node group.
- AutoscalingPolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.NodeGroupAutoscalingPolicy
- Specifies how autoscaling should behave.
- Description
string
- An optional description of this resource. Provide this property when you create the resource.
- LocationHint
string
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- MaintenanceInterval
Pulumi.GoogleNative.Compute.Beta.NodeGroupMaintenanceInterval
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - MaintenancePolicy
Pulumi.GoogleNative.Compute.Beta.NodeGroupMaintenancePolicy
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- MaintenanceWindow
Pulumi.GoogleNative.Compute.Beta.Inputs.NodeGroupMaintenanceWindow
- Name
string
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - NodeTemplate
string
- URL of the node template to create the node group from.
- Project
string
- RequestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- ShareSettings
Pulumi.GoogleNative.Compute.Beta.Inputs.ShareSettings
- Share-settings for the node group
- Zone
string
- InitialNodeCount
int
- Initial count of nodes in the node group.
- AutoscalingPolicy
NodeGroupAutoscalingPolicyArgs
- Specifies how autoscaling should behave.
- Description
string
- An optional description of this resource. Provide this property when you create the resource.
- LocationHint
string
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- MaintenanceInterval
NodeGroupMaintenanceInterval
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - MaintenancePolicy
NodeGroupMaintenancePolicy
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- MaintenanceWindow
NodeGroupMaintenanceWindowArgs
- Name
string
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - NodeTemplate
string
- URL of the node template to create the node group from.
- Project
string
- RequestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- ShareSettings
ShareSettingsArgs
- Share-settings for the node group
- Zone
string
- initial_node_count
number
- Initial count of nodes in the node group.
- autoscaling_policy
object
- Specifies how autoscaling should behave.
- description
string
- An optional description of this resource. Provide this property when you create the resource.
- location_hint
string
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- maintenance_interval
"AS_NEEDED" | "PERIODIC" | "RECURRENT"
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - maintenance_policy
"DEFAULT" | "MAINTENANCE_POLICY_UNSPECIFIED" | "MIGRATE_WITHIN_NODE_GROUP" | "RESTART_IN_PLACE"
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- maintenance_window
object
- name
string
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - node_template
string
- URL of the node template to create the node group from.
- project
string
- request_id
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- share_settings
object
- Share-settings for the node group
- zone
string
- initialNodeCount
Integer
- Initial count of nodes in the node group.
- autoscalingPolicy
NodeGroupAutoscalingPolicy
- Specifies how autoscaling should behave.
- description
String
- An optional description of this resource. Provide this property when you create the resource.
- locationHint
String
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- maintenanceInterval
NodeGroupMaintenanceInterval
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - maintenancePolicy
NodeGroupMaintenancePolicy
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- maintenanceWindow
NodeGroupMaintenanceWindow
- name
String
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - nodeTemplate
String
- URL of the node template to create the node group from.
- project
String
- requestId
String
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- shareSettings
ShareSettings
- Share-settings for the node group
- zone
String
- initialNodeCount
number
- Initial count of nodes in the node group.
- autoscalingPolicy
NodeGroupAutoscalingPolicy
- Specifies how autoscaling should behave.
- description
string
- An optional description of this resource. Provide this property when you create the resource.
- locationHint
string
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- maintenanceInterval
NodeGroupMaintenanceInterval
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - maintenancePolicy
NodeGroupMaintenancePolicy
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- maintenanceWindow
NodeGroupMaintenanceWindow
- name
string
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - nodeTemplate
string
- URL of the node template to create the node group from.
- project
string
- requestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- shareSettings
ShareSettings
- Share-settings for the node group
- zone
string
- initial_node_count
int
- Initial count of nodes in the node group.
- autoscaling_policy
NodeGroupAutoscalingPolicyArgs
- Specifies how autoscaling should behave.
- description
str
- An optional description of this resource. Provide this property when you create the resource.
- location_hint
str
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- maintenance_interval
NodeGroupMaintenanceInterval
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - maintenance_policy
NodeGroupMaintenancePolicy
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- maintenance_window
NodeGroupMaintenanceWindowArgs
- name
str
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - node_template
str
- URL of the node template to create the node group from.
- project
str
- request_id
str
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- share_settings
ShareSettingsArgs
- Share-settings for the node group
- zone
str
- initialNodeCount
Number
- Initial count of nodes in the node group.
- autoscalingPolicy
Property Map
- Specifies how autoscaling should behave.
- description
String
- An optional description of this resource. Provide this property when you create the resource.
- locationHint
String
- An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
- maintenanceInterval
"AS_NEEDED" | "PERIODIC" | "RECURRENT"
- Specifies the frequency of planned maintenance events. The accepted values are:
AS_NEEDED and RECURRENT. - maintenancePolicy
"DEFAULT" | "MAINTENANCE_POLICY_UNSPECIFIED" | "MIGRATE_WITHIN_NODE_GROUP" | "RESTART_IN_PLACE"
- Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
- maintenanceWindow
Property Map
- name
String
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - nodeTemplate
String
- URL of the node template to create the node group from.
- project
String
- requestId
String
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- shareSettings
Property Map
- Share-settings for the node group
- zone
String
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeGroup resource produces the following output properties:
- CreationTimestamp
string
- Creation timestamp in RFC3339 text format.
- Fingerprint
string
- Id
string
- The provider-assigned unique ID for this managed resource.
- Kind
string
- The type of the resource. Always compute#nodeGroup for node group.
- SelfLink
string
- Server-defined URL for the resource.
- Size
int
- The total number of nodes in the node group.
- Status
string
- CreationTimestamp
string
- Creation timestamp in RFC3339 text format.
- Fingerprint
string
- Id
string
- The provider-assigned unique ID for this managed resource.
- Kind
string
- The type of the resource. Always compute#nodeGroup for node group.
- SelfLink
string
- Server-defined URL for the resource.
- Size
int
- The total number of nodes in the node group.
- Status
string
- creation_timestamp
string
- Creation timestamp in RFC3339 text format.
- fingerprint
string
- id
string
- The provider-assigned unique ID for this managed resource.
- kind
string
- The type of the resource. Always compute#nodeGroup for node group.
- self_link
string
- Server-defined URL for the resource.
- size
number
- The total number of nodes in the node group.
- status
string
- creationTimestamp
String
- Creation timestamp in RFC3339 text format.
- fingerprint
String
- id
String
- The provider-assigned unique ID for this managed resource.
- kind
String
- The type of the resource. Always compute#nodeGroup for node group.
- selfLink
String
- Server-defined URL for the resource.
- size
Integer
- The total number of nodes in the node group.
- status
String
- creationTimestamp
string
- Creation timestamp in RFC3339 text format.
- fingerprint
string
- id
string
- The provider-assigned unique ID for this managed resource.
- kind
string
- The type of the resource. Always compute#nodeGroup for node group.
- selfLink
string
- Server-defined URL for the resource.
- size
number
- The total number of nodes in the node group.
- status
string
- creation_timestamp
str
- Creation timestamp in RFC3339 text format.
- fingerprint
str
- id
str
- The provider-assigned unique ID for this managed resource.
- kind
str
- The type of the resource. Always compute#nodeGroup for node group.
- self_link
str
- Server-defined URL for the resource.
- size
int
- The total number of nodes in the node group.
- status
str
- creationTimestamp
String
- Creation timestamp in RFC3339 text format.
- fingerprint
String
- id
String
- The provider-assigned unique ID for this managed resource.
- kind
String
- The type of the resource. Always compute#nodeGroup for node group.
- selfLink
String
- Server-defined URL for the resource.
- size
Number
- The total number of nodes in the node group.
- status
String
Look up Existing NodeGroup Resource
Get an existing NodeGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static NodeGroup get(String name, Output<String> id, CustomResourceOptions options)
resources: existingNodeGroup: type: google-native:compute/beta:NodeGroup get: id: ${id}
import {
to = google-native_compute_beta_node_group.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
NodeGroupState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DurationResponse
A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
- Nanos
int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - Seconds
string
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- Nanos
int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - Seconds
string
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - seconds
string
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - seconds
String
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - seconds
string
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - seconds
str
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive. - seconds
String
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
NodeGroupAutoscalingPolicy, NodeGroupAutoscalingPolicyArgs
- MaxNodes
int
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- MinNodes
int
- The minimum number of nodes that the group should have.
- Mode
NodeGroupAutoscalingPolicyMode
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max_nodes
number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min_nodes
number
- The minimum number of nodes that the group should have.
- mode
"MODE_UNSPECIFIED" | "OFF" | "ON" | "ONLY_SCALE_OUT"
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
Integer
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
Integer
- The minimum number of nodes that the group should have.
- mode
NodeGroupAutoscalingPolicyMode
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
number
- The minimum number of nodes that the group should have.
- mode
NodeGroupAutoscalingPolicyMode
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max_nodes
int
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min_nodes
int
- The minimum number of nodes that the group should have.
- mode
NodeGroupAutoscalingPolicyMode
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
Number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
Number
- The minimum number of nodes that the group should have.
- mode
"MODE_UNSPECIFIED" | "OFF" | "ON" | "ONLY_SCALE_OUT"
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
NodeGroupAutoscalingPolicyMode
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
| Name | Value | Description |
|---|
| ModeUnspecified | MODE_UNSPECIFIED | |
| Off | OFF | Autoscaling is disabled. |
| On | ON | Autocaling is fully enabled. |
| OnlyScaleOut | ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Name | Value | Description |
|---|
| NodeGroupAutoscalingPolicyModeModeUnspecified | MODE_UNSPECIFIED | |
| NodeGroupAutoscalingPolicyModeOff | OFF | Autoscaling is disabled. |
| NodeGroupAutoscalingPolicyModeOn | ON | Autocaling is fully enabled. |
| NodeGroupAutoscalingPolicyModeOnlyScaleOut | ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Value | Description |
|---|
MODE_UNSPECIFIED | |
OFF | Autoscaling is disabled. |
ON | Autocaling is fully enabled. |
ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Name | Value | Description |
|---|
| ModeUnspecified | MODE_UNSPECIFIED | |
| Off | OFF | Autoscaling is disabled. |
| On | ON | Autocaling is fully enabled. |
| OnlyScaleOut | ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Name | Value | Description |
|---|
| ModeUnspecified | MODE_UNSPECIFIED | |
| Off | OFF | Autoscaling is disabled. |
| On | ON | Autocaling is fully enabled. |
| OnlyScaleOut | ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Name | Value | Description |
|---|
| MODE_UNSPECIFIED | MODE_UNSPECIFIED | |
| OFF | OFF | Autoscaling is disabled. |
| ON | ON | Autocaling is fully enabled. |
| ONLY_SCALE_OUT | ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
| Value | Description |
|---|
MODE_UNSPECIFIED | |
OFF | Autoscaling is disabled. |
ON | Autocaling is fully enabled. |
ONLY_SCALE_OUT | Autoscaling will only scale out and will not remove nodes. |
NodeGroupAutoscalingPolicyResponse
- MaxNodes
int
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- MinNodes
int
- The minimum number of nodes that the group should have.
- Mode
string
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- MaxNodes
int
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- MinNodes
int
- The minimum number of nodes that the group should have.
- Mode
string
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max_nodes
number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min_nodes
number
- The minimum number of nodes that the group should have.
- mode
string
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
Integer
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
Integer
- The minimum number of nodes that the group should have.
- mode
String
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
number
- The minimum number of nodes that the group should have.
- mode
string
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max_nodes
int
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min_nodes
int
- The minimum number of nodes that the group should have.
- mode
str
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- maxNodes
Number
- The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- minNodes
Number
- The minimum number of nodes that the group should have.
- mode
String
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
NodeGroupMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT.
| Name | Value | Description |
|---|
| AsNeeded | AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
| Periodic | PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
| Recurrent | RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Name | Value | Description |
|---|
| NodeGroupMaintenanceIntervalAsNeeded | AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
| NodeGroupMaintenanceIntervalPeriodic | PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
| NodeGroupMaintenanceIntervalRecurrent | RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Value | Description |
|---|
AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Name | Value | Description |
|---|
| AsNeeded | AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
| Periodic | PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
| Recurrent | RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Name | Value | Description |
|---|
| AsNeeded | AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
| Periodic | PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
| Recurrent | RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Name | Value | Description |
|---|
| AS_NEEDED | AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
| PERIODIC | PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
| RECURRENT | RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
| Value | Description |
|---|
AS_NEEDED | VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. |
PERIODIC | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. |
RECURRENT | VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. |
NodeGroupMaintenancePolicy
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
| Name | Value | Description |
|---|
| Default | DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
| MaintenancePolicyUnspecified | MAINTENANCE_POLICY_UNSPECIFIED | |
| MigrateWithinNodeGroup | MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
| RestartInPlace | RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Name | Value | Description |
|---|
| NodeGroupMaintenancePolicyDefault | DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
| NodeGroupMaintenancePolicyMaintenancePolicyUnspecified | MAINTENANCE_POLICY_UNSPECIFIED | |
| NodeGroupMaintenancePolicyMigrateWithinNodeGroup | MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
| NodeGroupMaintenancePolicyRestartInPlace | RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Value | Description |
|---|
DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
MAINTENANCE_POLICY_UNSPECIFIED | |
MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Name | Value | Description |
|---|
| Default | DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
| MaintenancePolicyUnspecified | MAINTENANCE_POLICY_UNSPECIFIED | |
| MigrateWithinNodeGroup | MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
| RestartInPlace | RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Name | Value | Description |
|---|
| Default | DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
| MaintenancePolicyUnspecified | MAINTENANCE_POLICY_UNSPECIFIED | |
| MigrateWithinNodeGroup | MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
| RestartInPlace | RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Name | Value | Description |
|---|
| DEFAULT | DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
| MAINTENANCE_POLICY_UNSPECIFIED | MAINTENANCE_POLICY_UNSPECIFIED | |
| MIGRATE_WITHIN_NODE_GROUP | MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
| RESTART_IN_PLACE | RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
| Value | Description |
|---|
DEFAULT | Allow the node and corresponding instances to retain default maintenance behavior. |
MAINTENANCE_POLICY_UNSPECIFIED | |
MIGRATE_WITHIN_NODE_GROUP | When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
RESTART_IN_PLACE | Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
NodeGroupMaintenanceWindow, NodeGroupMaintenanceWindowArgs
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
- StartTime
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- StartTime
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- start_time
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- startTime
String
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- startTime
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- start_time
str
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- startTime
String
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
NodeGroupMaintenanceWindowResponse
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
- MaintenanceDuration
DurationResponse
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- StartTime
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- maintenance_duration
object
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start_time
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- maintenanceDuration
DurationResponse
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- startTime
String
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- maintenanceDuration
DurationResponse
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- startTime
string
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- maintenance_duration
DurationResponse
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start_time
str
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- maintenanceDuration
Property Map
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- startTime
String
- Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
ShareSettings, ShareSettingsArgs
The share setting for reservations and sole tenancy node groups.
- ProjectMap
Dictionary<string, string>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
List<string>
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- ShareType
Pulumi.GoogleNative.Compute.Beta.ShareSettingsShareType
- Type of sharing for this shared-reservation
- ProjectMap
map[string]string
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
[]string
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- ShareType
ShareSettingsShareType
- Type of sharing for this shared-reservation
- projectMap
Map<String,String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
List<String>
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- shareType
ShareSettingsShareType
- Type of sharing for this shared-reservation
- projectMap
{[key: string]: string}
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
string[]
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- shareType
ShareSettingsShareType
- Type of sharing for this shared-reservation
- project_map
Mapping[str, str]
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
Sequence[str]
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- share_type
ShareSettingsShareType
- Type of sharing for this shared-reservation
ShareSettingsResponse
The share setting for reservations and sole tenancy node groups.
- ProjectMap
Dictionary<string, string>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
List<string>
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- ShareType
string
- Type of sharing for this shared-reservation
- ProjectMap
map[string]string
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
[]string
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- ShareType
string
- Type of sharing for this shared-reservation
- project_map
map(string)
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
list(string)
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- share_type
string
- Type of sharing for this shared-reservation
- projectMap
Map<String,String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
List<String>
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- shareType
String
- Type of sharing for this shared-reservation
- projectMap
{[key: string]: string}
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
string[]
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- shareType
string
- Type of sharing for this shared-reservation
- project_map
Mapping[str, str]
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
Sequence[str]
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- share_type
str
- Type of sharing for this shared-reservation
- projectMap
Map<String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
List<String>
- A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- shareType
String
- Type of sharing for this shared-reservation
ShareSettingsShareType
Type of sharing for this shared-reservation
| Name | Value | Description |
|---|
| Local | LOCAL | Default value. |
| Organization | ORGANIZATION | Shared-reservation is open to entire Organization |
| ShareTypeUnspecified | SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
| SpecificProjects | SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Name | Value | Description |
|---|
| ShareSettingsShareTypeLocal | LOCAL | Default value. |
| ShareSettingsShareTypeOrganization | ORGANIZATION | Shared-reservation is open to entire Organization |
| ShareSettingsShareTypeShareTypeUnspecified | SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
| ShareSettingsShareTypeSpecificProjects | SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Value | Description |
|---|
LOCAL | Default value. |
ORGANIZATION | Shared-reservation is open to entire Organization |
SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Name | Value | Description |
|---|
| Local | LOCAL | Default value. |
| Organization | ORGANIZATION | Shared-reservation is open to entire Organization |
| ShareTypeUnspecified | SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
| SpecificProjects | SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Name | Value | Description |
|---|
| Local | LOCAL | Default value. |
| Organization | ORGANIZATION | Shared-reservation is open to entire Organization |
| ShareTypeUnspecified | SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
| SpecificProjects | SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Name | Value | Description |
|---|
| LOCAL | LOCAL | Default value. |
| ORGANIZATION | ORGANIZATION | Shared-reservation is open to entire Organization |
| SHARE_TYPE_UNSPECIFIED | SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
| SPECIFIC_PROJECTS | SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
| Value | Description |
|---|
LOCAL | Default value. |
ORGANIZATION | Shared-reservation is open to entire Organization |
SHARE_TYPE_UNSPECIFIED | Default value. This value is unused. |
SPECIFIC_PROJECTS | Shared-reservation is open to specific projects |
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0