< Back
Wait-GceManagedInstanceGroup
Post
NAME Wait-GceManagedInstanceGroup
SYNOPSIS
Waits for a Google Compute Engine managed instance group to be stable.
SYNTAX
Wait-GceManagedInstanceGroup [-Project <string>] [-Zone <string>] [-Name] <string> [[-Timeout] <int>]
[<CommonParameters>]
Wait-GceManagedInstanceGroup [-Project <string>] [-Region <string>] [-Name] <string> [[-Timeout] <int>]
[<CommonParameters>]
Wait-GceManagedInstanceGroup [-Object] <InstanceGroupManager> [[-Timeout] <int>] [<CommonParameters>]
DESCRIPTION
Waits for all of the instances of a managed instance group to reach normal running state.
PARAMETERS
-Project <string>
The project that owns the managed instance group.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Zone <string>
The zone the managed instance group is in.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region the managed instance group is in.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the managed instance group to wait on.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Object <InstanceGroupManager>
The mananged instance group object to wait on.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Timeout <int>
The maximum number of seconds to wait for each managed instance group. -1, the default, waits until all
instances have no current action, no matter how long it takes. If the timeout expires, the wait will end with
a warning.
Required? false
Position? 1
Default value -1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The name of the managed instance group to wait on.
Google.Apis.Compute.v1.Data.InstanceGroupManager
The mananged instance group object to wait on.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Wait-GceManagedInstanceGroup "my-group" -Timeout 30
Waits for the managed instance group "my-group" to reach a noraml running state for up to 30 seconds.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceManagedInstanceGroup -Zone "us-central1-a" | Wait-GceManagedInstanceGroup
Waits for all maanged instance groups in zone us-central1-a to reach a normal running state.
RELATED LINKS
[Managed Instance Group resource definition]
(https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Waits for a Google Compute Engine managed instance group to be stable.
SYNTAX
Wait-GceManagedInstanceGroup [-Project <string>] [-Zone <string>] [-Name] <string> [[-Timeout] <int>]
[<CommonParameters>]
Wait-GceManagedInstanceGroup [-Project <string>] [-Region <string>] [-Name] <string> [[-Timeout] <int>]
[<CommonParameters>]
Wait-GceManagedInstanceGroup [-Object] <InstanceGroupManager> [[-Timeout] <int>] [<CommonParameters>]
DESCRIPTION
Waits for all of the instances of a managed instance group to reach normal running state.
PARAMETERS
-Project <string>
The project that owns the managed instance group.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Zone <string>
The zone the managed instance group is in.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region the managed instance group is in.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the managed instance group to wait on.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Object <InstanceGroupManager>
The mananged instance group object to wait on.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Timeout <int>
The maximum number of seconds to wait for each managed instance group. -1, the default, waits until all
instances have no current action, no matter how long it takes. If the timeout expires, the wait will end with
a warning.
Required? false
Position? 1
Default value -1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The name of the managed instance group to wait on.
Google.Apis.Compute.v1.Data.InstanceGroupManager
The mananged instance group object to wait on.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Wait-GceManagedInstanceGroup "my-group" -Timeout 30
Waits for the managed instance group "my-group" to reach a noraml running state for up to 30 seconds.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceManagedInstanceGroup -Zone "us-central1-a" | Wait-GceManagedInstanceGroup
Waits for all maanged instance groups in zone us-central1-a to reach a normal running state.
RELATED LINKS
[Managed Instance Group resource definition]
(https://cloud.google.com/compute/docs/r ... s#resource)