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.32.0 published on Wednesday, Nov 29, 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.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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:

    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
    OFFAutoscaling is disabled.
    On
    ONAutocaling is fully enabled.
    OnlyScaleOut
    ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
    NodeGroupAutoscalingPolicyModeModeUnspecified
    MODE_UNSPECIFIED
    NodeGroupAutoscalingPolicyModeOff
    OFFAutoscaling is disabled.
    NodeGroupAutoscalingPolicyModeOn
    ONAutocaling is fully enabled.
    NodeGroupAutoscalingPolicyModeOnlyScaleOut
    ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
    ModeUnspecified
    MODE_UNSPECIFIED
    Off
    OFFAutoscaling is disabled.
    On
    ONAutocaling is fully enabled.
    OnlyScaleOut
    ONLY_SCALE_OUTAutoscaling will only scale out and will not remove nodes.
    ModeUnspecified
    MODE_UNSPECIFIED
    Off
    OFFAutoscaling is disabled.
    On
    ONAutocaling is fully enabled.
    OnlyScaleOut
    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.
    MaintenancePolicyUnspecified
    MAINTENANCE_POLICY_UNSPECIFIED
    MigrateWithinNodeGroup
    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.
    RestartInPlace
    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.
    NodeGroupMaintenancePolicyDefault
    DEFAULTAllow the node and corresponding instances to retain default maintenance behavior.
    NodeGroupMaintenancePolicyMaintenancePolicyUnspecified
    MAINTENANCE_POLICY_UNSPECIFIED
    NodeGroupMaintenancePolicyMigrateWithinNodeGroup
    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.
    NodeGroupMaintenancePolicyRestartInPlace
    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.
    MaintenancePolicyUnspecified
    MAINTENANCE_POLICY_UNSPECIFIED
    MigrateWithinNodeGroup
    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.
    RestartInPlace
    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.
    MaintenancePolicyUnspecified
    MAINTENANCE_POLICY_UNSPECIFIED
    MigrateWithinNodeGroup
    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.
    RestartInPlace
    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

    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
    LOCALDefault value.
    Organization
    ORGANIZATIONShared-reservation is open to entire Organization
    ShareTypeUnspecified
    SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
    SpecificProjects
    SPECIFIC_PROJECTSShared-reservation is open to specific projects
    ShareSettingsShareTypeLocal
    LOCALDefault value.
    ShareSettingsShareTypeOrganization
    ORGANIZATIONShared-reservation is open to entire Organization
    ShareSettingsShareTypeShareTypeUnspecified
    SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
    ShareSettingsShareTypeSpecificProjects
    SPECIFIC_PROJECTSShared-reservation is open to specific projects
    Local
    LOCALDefault value.
    Organization
    ORGANIZATIONShared-reservation is open to entire Organization
    ShareTypeUnspecified
    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
    ShareTypeUnspecified
    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-native logo

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

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi