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.regionInstanceGroupManagers.abandonInstances
.
- type RegionInstanceGroupManagersAbandonInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("abandonInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegionInstanceGroupManagersAbandonInstancesRequest :> Post '[JSON] Operation))))))))))
- regionInstanceGroupManagersAbandonInstances :: Text -> Text -> RegionInstanceGroupManagersAbandonInstancesRequest -> Text -> RegionInstanceGroupManagersAbandonInstances
- data RegionInstanceGroupManagersAbandonInstances
- rigmaiProject :: Lens' RegionInstanceGroupManagersAbandonInstances Text
- rigmaiInstanceGroupManager :: Lens' RegionInstanceGroupManagersAbandonInstances Text
- rigmaiPayload :: Lens' RegionInstanceGroupManagersAbandonInstances RegionInstanceGroupManagersAbandonInstancesRequest
- rigmaiRegion :: Lens' RegionInstanceGroupManagersAbandonInstances Text
REST Resource
type RegionInstanceGroupManagersAbandonInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("abandonInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegionInstanceGroupManagersAbandonInstancesRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for compute.regionInstanceGroupManagers.abandonInstances
method which the
RegionInstanceGroupManagersAbandonInstances
request conforms to.
Creating a Request
regionInstanceGroupManagersAbandonInstances Source #
:: Text | |
-> Text | |
-> RegionInstanceGroupManagersAbandonInstancesRequest | |
-> Text | |
-> RegionInstanceGroupManagersAbandonInstances |
Creates a value of RegionInstanceGroupManagersAbandonInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionInstanceGroupManagersAbandonInstances 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: regionInstanceGroupManagersAbandonInstances
smart constructor.
Request Lenses
rigmaiProject :: Lens' RegionInstanceGroupManagersAbandonInstances Text Source #
Project ID for this request.
rigmaiInstanceGroupManager :: Lens' RegionInstanceGroupManagersAbandonInstances Text Source #
Name of the managed instance group.
rigmaiPayload :: Lens' RegionInstanceGroupManagersAbandonInstances RegionInstanceGroupManagersAbandonInstancesRequest Source #
Multipart request metadata.
rigmaiRegion :: Lens' RegionInstanceGroupManagersAbandonInstances Text Source #
Name of the region scoping this request.