Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.
See: Compute Engine API Reference for compute.instanceGroupManagers.abandonInstances
.
- type InstanceGroupManagersAbandonInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("abandonInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersAbandonInstancesRequest :> Post '[JSON] Operation))))))))))
- instanceGroupManagersAbandonInstances :: Text -> Text -> Text -> InstanceGroupManagersAbandonInstancesRequest -> InstanceGroupManagersAbandonInstances
- data InstanceGroupManagersAbandonInstances
- igmaiProject :: Lens' InstanceGroupManagersAbandonInstances Text
- igmaiInstanceGroupManager :: Lens' InstanceGroupManagersAbandonInstances Text
- igmaiZone :: Lens' InstanceGroupManagersAbandonInstances Text
- igmaiPayload :: Lens' InstanceGroupManagersAbandonInstances InstanceGroupManagersAbandonInstancesRequest
REST Resource
type InstanceGroupManagersAbandonInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("abandonInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersAbandonInstancesRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for compute.instanceGroupManagers.abandonInstances
method which the
InstanceGroupManagersAbandonInstances
request conforms to.
Creating a Request
instanceGroupManagersAbandonInstances Source #
:: Text | |
-> Text | |
-> Text | |
-> InstanceGroupManagersAbandonInstancesRequest | |
-> InstanceGroupManagersAbandonInstances |
Creates a value of InstanceGroupManagersAbandonInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupManagersAbandonInstances Source #
Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.
See: instanceGroupManagersAbandonInstances
smart constructor.
Request Lenses
igmaiProject :: Lens' InstanceGroupManagersAbandonInstances Text Source #
Project ID for this request.
igmaiInstanceGroupManager :: Lens' InstanceGroupManagersAbandonInstances Text Source #
The name of the managed instance group.
igmaiZone :: Lens' InstanceGroupManagersAbandonInstances Text Source #
The name of the zone where the managed instance group is located.
igmaiPayload :: Lens' InstanceGroupManagersAbandonInstances InstanceGroupManagersAbandonInstancesRequest Source #
Multipart request metadata.