1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. NodeGroup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.compute/v1.NodeGroup

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Creates a NodeGroup resource in the specified project using the data included in the request.

    Create NodeGroup Resource

    new NodeGroup(name: string, args: NodeGroupArgs, opts?: CustomResourceOptions);
    @overload
    def NodeGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  autoscaling_policy: Optional[NodeGroupAutoscalingPolicyArgs] = None,
                  description: Optional[str] = None,
                  initial_node_count: Optional[int] = 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)
    @overload
    def NodeGroup(resource_name: str,
                  args: NodeGroupArgs,
                  opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    InitialNodeCount int

    Initial count of nodes in the node group.

    AutoscalingPolicy Pulumi.GoogleNative.Compute.V1.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.

    MaintenancePolicy Pulumi.GoogleNative.Compute.V1.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.V1.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.V1.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.

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

    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.

    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_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.

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

    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 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 Pulumi.GoogleNative.Compute.V1.NodeGroupAutoscalingPolicyMode

    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 NodeGroupAutoscalingPolicyMode

    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, NodeGroupAutoscalingPolicyModeArgs

    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.

    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.

    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.

    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.

    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.

    "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.

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

    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.

    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.

    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.

    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.

    "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.

    NodeGroupMaintenanceWindow, NodeGroupMaintenanceWindowArgs

    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

    MaintenanceDuration Pulumi.GoogleNative.Compute.V1.Inputs.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.

    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

    ProjectMap Dictionary<string, string>

    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

    ShareType Pulumi.GoogleNative.Compute.V1.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.

    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.

    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.

    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.

    share_type ShareSettingsShareType

    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.

    shareType "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"

    Type of sharing for this shared-reservation

    ShareSettingsResponse, ShareSettingsResponseArgs

    ProjectMap Dictionary<string, string>

    A map of project id and project config. 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.

    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.

    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.

    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.

    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.

    shareType String

    Type of sharing for this shared-reservation

    ShareSettingsShareType, ShareSettingsShareTypeArgs

    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

    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

    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

    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

    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

    "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

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi