Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.NodeGroup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
new NodeGroup(name: string, args: NodeGroupArgs, opts?: CustomResourceOptions);
@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,
autoscaling_policy: Optional[NodeGroupAutoscalingPolicyArgs] = None,
description: Optional[str] = None,
location_hint: Optional[str] = None,
maintenance_policy: Optional[NodeGroupMaintenancePolicy] = None,
maintenance_window: Optional[NodeGroupMaintenanceWindowArgs] = 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)
func NewNodeGroup(ctx *Context, name string, args NodeGroupArgs, opts ...ResourceOption) (*NodeGroup, error)
public NodeGroup(string name, NodeGroupArgs args, CustomResourceOptions? opts = null)
public NodeGroup(String name, NodeGroupArgs args)
public NodeGroup(String name, NodeGroupArgs args, CustomResourceOptions options)
type: google-native:compute/v1:NodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args 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 examplenodeGroupResourceResourceFromComputev1 = new GoogleNative.Compute.V1.NodeGroup("examplenodeGroupResourceResourceFromComputev1", new()
{
InitialNodeCount = 0,
AutoscalingPolicy = new GoogleNative.Compute.V1.Inputs.NodeGroupAutoscalingPolicyArgs
{
MaxNodes = 0,
MinNodes = 0,
Mode = GoogleNative.Compute.V1.NodeGroupAutoscalingPolicyMode.ModeUnspecified,
},
Description = "string",
LocationHint = "string",
MaintenancePolicy = GoogleNative.Compute.V1.NodeGroupMaintenancePolicy.Default,
MaintenanceWindow = new GoogleNative.Compute.V1.Inputs.NodeGroupMaintenanceWindowArgs
{
StartTime = "string",
},
Name = "string",
NodeTemplate = "string",
Project = "string",
RequestId = "string",
ShareSettings = new GoogleNative.Compute.V1.Inputs.ShareSettingsArgs
{
ProjectMap =
{
{ "string", "string" },
},
ShareType = GoogleNative.Compute.V1.ShareSettingsShareType.Local,
},
Zone = "string",
});
example, err := computev1.NewNodeGroup(ctx, "examplenodeGroupResourceResourceFromComputev1", &computev1.NodeGroupArgs{
InitialNodeCount: pulumi.Int(0),
AutoscalingPolicy: &compute.NodeGroupAutoscalingPolicyArgs{
MaxNodes: pulumi.Int(0),
MinNodes: pulumi.Int(0),
Mode: computev1.NodeGroupAutoscalingPolicyModeModeUnspecified,
},
Description: pulumi.String("string"),
LocationHint: pulumi.String("string"),
MaintenancePolicy: computev1.NodeGroupMaintenancePolicyDefault,
MaintenanceWindow: &compute.NodeGroupMaintenanceWindowArgs{
StartTime: pulumi.String("string"),
},
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"),
},
ShareType: computev1.ShareSettingsShareTypeLocal,
},
Zone: pulumi.String("string"),
})
var examplenodeGroupResourceResourceFromComputev1 = new NodeGroup("examplenodeGroupResourceResourceFromComputev1", NodeGroupArgs.builder()
.initialNodeCount(0)
.autoscalingPolicy(NodeGroupAutoscalingPolicyArgs.builder()
.maxNodes(0)
.minNodes(0)
.mode("MODE_UNSPECIFIED")
.build())
.description("string")
.locationHint("string")
.maintenancePolicy("DEFAULT")
.maintenanceWindow(NodeGroupMaintenanceWindowArgs.builder()
.startTime("string")
.build())
.name("string")
.nodeTemplate("string")
.project("string")
.requestId("string")
.shareSettings(ShareSettingsArgs.builder()
.projectMap(Map.of("string", "string"))
.shareType("LOCAL")
.build())
.zone("string")
.build());
examplenode_group_resource_resource_from_computev1 = google_native.compute.v1.NodeGroup("examplenodeGroupResourceResourceFromComputev1",
initial_node_count=0,
autoscaling_policy=google_native.compute.v1.NodeGroupAutoscalingPolicyArgs(
max_nodes=0,
min_nodes=0,
mode=google_native.compute.v1.NodeGroupAutoscalingPolicyMode.MODE_UNSPECIFIED,
),
description="string",
location_hint="string",
maintenance_policy=google_native.compute.v1.NodeGroupMaintenancePolicy.DEFAULT,
maintenance_window=google_native.compute.v1.NodeGroupMaintenanceWindowArgs(
start_time="string",
),
name="string",
node_template="string",
project="string",
request_id="string",
share_settings=google_native.compute.v1.ShareSettingsArgs(
project_map={
"string": "string",
},
share_type=google_native.compute.v1.ShareSettingsShareType.LOCAL,
),
zone="string")
const examplenodeGroupResourceResourceFromComputev1 = new google_native.compute.v1.NodeGroup("examplenodeGroupResourceResourceFromComputev1", {
initialNodeCount: 0,
autoscalingPolicy: {
maxNodes: 0,
minNodes: 0,
mode: google_native.compute.v1.NodeGroupAutoscalingPolicyMode.ModeUnspecified,
},
description: "string",
locationHint: "string",
maintenancePolicy: google_native.compute.v1.NodeGroupMaintenancePolicy.Default,
maintenanceWindow: {
startTime: "string",
},
name: "string",
nodeTemplate: "string",
project: "string",
requestId: "string",
shareSettings: {
projectMap: {
string: "string",
},
shareType: google_native.compute.v1.ShareSettingsShareType.Local,
},
zone: "string",
});
type: google-native:compute/v1:NodeGroup
properties:
autoscalingPolicy:
maxNodes: 0
minNodes: 0
mode: MODE_UNSPECIFIED
description: string
initialNodeCount: 0
locationHint: string
maintenancePolicy: DEFAULT
maintenanceWindow:
startTime: string
name: string
nodeTemplate: string
project: string
requestId: string
shareSettings:
projectMap:
string: 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.
Inputs
The NodeGroup resource accepts the following input properties:
- Initial
Node intCount - Initial count of nodes in the node group.
- Autoscaling
Policy Pulumi.Google Native. Compute. V1. Inputs. Node Group Autoscaling Policy - 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
Policy Pulumi.Google Native. Compute. V1. Node Group Maintenance Policy - 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 Pulumi.Google Native. Compute. V1. Inputs. Node Group Maintenance Window - 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).
- Pulumi.
Google Native. Compute. V1. Inputs. Share Settings - Share-settings for the node group
- Zone string
- Initial
Node intCount - Initial count of nodes in the node group.
- Autoscaling
Policy NodeGroup Autoscaling Policy Args - 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
Policy NodeGroup Maintenance Policy - 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 NodeGroup Maintenance Window Args - 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 Args - Share-settings for the node group
- Zone string
- initial
Node IntegerCount - Initial count of nodes in the node group.
- autoscaling
Policy NodeGroup Autoscaling Policy - 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
Policy NodeGroup Maintenance Policy - 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 NodeGroup Maintenance Window - 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 - Share-settings for the node group
- zone String
- initial
Node numberCount - Initial count of nodes in the node group.
- autoscaling
Policy NodeGroup Autoscaling Policy - 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
Policy NodeGroup Maintenance Policy - 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 NodeGroup Maintenance Window - 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 - Share-settings for the node group
- zone string
- initial_
node_ intcount - Initial count of nodes in the node group.
- autoscaling_
policy NodeGroup Autoscaling Policy Args - 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_
policy NodeGroup Maintenance Policy - 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 NodeGroup Maintenance Window Args - 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 Args - Share-settings for the node group
- zone str
- initial
Node NumberCount - Initial count of nodes in the node group.
- autoscaling
Policy Property Map - 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
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 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. - 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).
- 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:
- 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 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 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 Integer
- 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
- 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
- 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
Supporting Types
DurationResponse, DurationResponseArgs
- 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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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
- 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
Pulumi.
Google Native. Compute. V1. Node Group Autoscaling Policy Mode - 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
Node
Group Autoscaling Policy Mode - The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max
Nodes Integer - The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min
Nodes Integer - The minimum number of nodes that the group should have.
- mode
Node
Group Autoscaling Policy Mode - 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
Node
Group Autoscaling Policy Mode - 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
Node
Group Autoscaling Policy Mode - 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.
NodeGroupAutoscalingPolicyMode, NodeGroupAutoscalingPolicyModeArgs
- Mode
Unspecified - MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- Only
Scale Out - ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- Node
Group Autoscaling Policy Mode Mode Unspecified - MODE_UNSPECIFIED
- Node
Group Autoscaling Policy Mode Off - OFFAutoscaling is disabled.
- Node
Group Autoscaling Policy Mode On - ONAutocaling is fully enabled.
- Node
Group Autoscaling Policy Mode Only Scale Out - ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- Mode
Unspecified - MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- Only
Scale Out - ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- Mode
Unspecified - MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- Only
Scale Out - ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- MODE_UNSPECIFIED
- MODE_UNSPECIFIED
- OFF
- OFFAutoscaling is disabled.
- ON
- ONAutocaling is fully enabled.
- ONLY_SCALE_OUT
- ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- "MODE_UNSPECIFIED"
- MODE_UNSPECIFIED
- "OFF"
- OFFAutoscaling is disabled.
- "ON"
- ONAutocaling is fully enabled.
- "ONLY_SCALE_OUT"
- ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
NodeGroupAutoscalingPolicyResponse, NodeGroupAutoscalingPolicyResponseArgs
- 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 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 string
- The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
- max
Nodes Integer - The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
- min
Nodes 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.
- 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.
- 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.
- 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.
NodeGroupMaintenancePolicy, NodeGroupMaintenancePolicyArgs
- Default
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- Maintenance
Policy Unspecified - MAINTENANCE_POLICY_UNSPECIFIED
- Migrate
Within Node Group - MIGRATE_WITHIN_NODE_GROUPWhen 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_PLACEInstances 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.
- Node
Group Maintenance Policy Default - DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- Node
Group Maintenance Policy Maintenance Policy Unspecified - MAINTENANCE_POLICY_UNSPECIFIED
- Node
Group Maintenance Policy Migrate Within Node Group - MIGRATE_WITHIN_NODE_GROUPWhen 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.
- Node
Group Maintenance Policy Restart In Place - RESTART_IN_PLACEInstances 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.
- Default
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- Maintenance
Policy Unspecified - MAINTENANCE_POLICY_UNSPECIFIED
- Migrate
Within Node Group - MIGRATE_WITHIN_NODE_GROUPWhen 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_PLACEInstances 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.
- Default
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- Maintenance
Policy Unspecified - MAINTENANCE_POLICY_UNSPECIFIED
- Migrate
Within Node Group - MIGRATE_WITHIN_NODE_GROUPWhen 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_PLACEInstances 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.
- DEFAULT
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- MAINTENANCE_POLICY_UNSPECIFIED
- MAINTENANCE_POLICY_UNSPECIFIED
- MIGRATE_WITHIN_NODE_GROUP
- MIGRATE_WITHIN_NODE_GROUPWhen 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_PLACEInstances 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.
- "DEFAULT"
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- "MAINTENANCE_POLICY_UNSPECIFIED"
- MAINTENANCE_POLICY_UNSPECIFIED
- "MIGRATE_WITHIN_NODE_GROUP"
- MIGRATE_WITHIN_NODE_GROUPWhen 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_PLACEInstances 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
NodeGroupMaintenanceWindowResponse, NodeGroupMaintenanceWindowResponseArgs
- Maintenance
Duration Pulumi.Google Native. Compute. V1. Inputs. Duration Response - [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.
- Maintenance
Duration DurationResponse - [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.
- maintenance
Duration DurationResponse - [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.
- maintenance
Duration DurationResponse - [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.
- 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.
- maintenance
Duration Property Map - [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.
ShareSettings, ShareSettingsArgs
- Project
Map Dictionary<string, string> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Pulumi.
Google Native. Compute. V1. Share Settings Share Type - Type of sharing for this shared-reservation
- Project
Map map[string]string - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- project
Map Map<String,String> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- project
Map {[key: string]: string} - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Share
Settings Share Type - 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.
- Share
Settings Share Type - 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.
- "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"
- Type of sharing for this shared-reservation
ShareSettingsResponse, ShareSettingsResponseArgs
- Project
Map Dictionary<string, string> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- string
- Type of sharing for this shared-reservation
- Project
Map map[string]string - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- string
- Type of sharing for this shared-reservation
- project
Map Map<String,String> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- String
- Type of sharing for this shared-reservation
- project
Map {[key: string]: string} - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- 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.
- str
- 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.
- String
- Type of sharing for this shared-reservation
ShareSettingsShareType, ShareSettingsShareTypeArgs
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Share
Settings Share Type Local - LOCALDefault value.
- Share
Settings Share Type Organization - ORGANIZATIONShared-reservation is open to entire Organization
- Share
Settings Share Type Share Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Share
Settings Share Type Specific Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- LOCAL
- LOCALDefault value.
- ORGANIZATION
- ORGANIZATIONShared-reservation is open to entire Organization
- SHARE_TYPE_UNSPECIFIED
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- SPECIFIC_PROJECTS
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
- "LOCAL"
- LOCALDefault value.
- "ORGANIZATION"
- ORGANIZATIONShared-reservation is open to entire Organization
- "SHARE_TYPE_UNSPECIFIED"
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- "SPECIFIC_PROJECTS"
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.