Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.NodeGroup
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 com.pulumi.googlenative.compute_v1.NodeGroup("examplenodeGroupResourceResourceFromComputev1", com.pulumi.googlenative.compute_v1.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={
        "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={
        "start_time": "string",
    },
    name="string",
    node_template="string",
    project="string",
    request_id="string",
    share_settings={
        "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
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:
- InitialNode intCount 
- Initial count of nodes in the node group.
- AutoscalingPolicy 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.
- 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.
- MaintenancePolicy 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.
- MaintenanceWindow 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.
- 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).
- 
Pulumi.Google Native. Compute. V1. Inputs. Share Settings 
- Share-settings for the node group
- Zone string
- InitialNode intCount 
- Initial count of nodes in the node group.
- AutoscalingPolicy 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.
- 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.
- MaintenancePolicy 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.
- MaintenanceWindow 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.
- 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 Args 
- Share-settings for the node group
- Zone string
- initialNode IntegerCount 
- Initial count of nodes in the node group.
- autoscalingPolicy NodeGroup Autoscaling Policy 
- 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.
- maintenancePolicy 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.
- maintenanceWindow 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.
- 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 
- Share-settings for the node group
- zone String
- initialNode numberCount 
- Initial count of nodes in the node group.
- autoscalingPolicy NodeGroup Autoscaling Policy 
- 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.
- maintenancePolicy 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.
- maintenanceWindow 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.
- 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 
- 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).
- 
ShareSettings Args 
- Share-settings for the node group
- zone str
- initialNode NumberCount 
- 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.
- 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).
- 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
- 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
Supporting Types
DurationResponse, DurationResponseArgs    
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 secondsfield and a positivenanosfield. 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 secondsfield and a positivenanosfield. 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 secondsfield and a positivenanosfield. 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 secondsfield and a positivenanosfield. 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 secondsfield and a positivenanosfield. 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 secondsfield and a positivenanosfield. 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
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.
- 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
NodeGroup Autoscaling Policy Mode 
- 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
NodeGroup Autoscaling Policy Mode 
- 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
NodeGroup 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
NodeGroup Autoscaling Policy Mode 
- 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, NodeGroupAutoscalingPolicyModeArgs          
- ModeUnspecified 
- MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- OnlyScale Out 
- ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- NodeGroup Autoscaling Policy Mode Mode Unspecified 
- MODE_UNSPECIFIED
- NodeGroup Autoscaling Policy Mode Off 
- OFFAutoscaling is disabled.
- NodeGroup Autoscaling Policy Mode On 
- ONAutocaling is fully enabled.
- NodeGroup Autoscaling Policy Mode Only Scale Out 
- ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- ModeUnspecified 
- MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- OnlyScale Out 
- ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
- ModeUnspecified 
- MODE_UNSPECIFIED
- Off
- OFFAutoscaling is disabled.
- On
- ONAutocaling is fully enabled.
- OnlyScale 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          
- 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.
- 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.
NodeGroupMaintenancePolicy, NodeGroupMaintenancePolicyArgs        
- Default
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- MaintenancePolicy Unspecified 
- MAINTENANCE_POLICY_UNSPECIFIED
- MigrateWithin 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.
- RestartIn 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.
- NodeGroup Maintenance Policy Default 
- DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
- NodeGroup Maintenance Policy Maintenance Policy Unspecified 
- MAINTENANCE_POLICY_UNSPECIFIED
- NodeGroup 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.
- NodeGroup 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.
- MaintenancePolicy Unspecified 
- MAINTENANCE_POLICY_UNSPECIFIED
- MigrateWithin 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.
- RestartIn 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.
- MaintenancePolicy Unspecified 
- MAINTENANCE_POLICY_UNSPECIFIED
- MigrateWithin 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.
- RestartIn 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        
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.
- 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, NodeGroupMaintenanceWindowResponseArgs          
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.- MaintenanceDuration 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.
- 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.
- 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.
- 
Pulumi.Google Native. Compute. V1. Share Settings Share Type 
- 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.
- 
ShareSettings Share Type 
- 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.
- 
ShareSettings Share Type 
- 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.
- 
ShareSettings 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.
- 
ShareSettings Share Type 
- 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.
- "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"
- Type of sharing for this shared-reservation
ShareSettingsResponse, ShareSettingsResponseArgs      
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.
- 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.
- 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.
- 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.
- 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
- projectMap 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
- ShareType Unspecified 
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- SpecificProjects 
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
- ShareSettings Share Type Local 
- LOCALDefault value.
- ShareSettings Share Type Organization 
- ORGANIZATIONShared-reservation is open to entire Organization
- ShareSettings Share Type Share Type Unspecified 
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- ShareSettings Share Type Specific Projects 
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- ShareType Unspecified 
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- SpecificProjects 
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- ShareType Unspecified 
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- SpecificProjects 
- 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.
