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 |
Network.Google.Resource.Compute.RegionInstanceGroupManagers.DeleteInstances
Description
Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.
See: Compute Engine API Reference for compute.regionInstanceGroupManagers.deleteInstances
.
- type RegionInstanceGroupManagersDeleteInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("deleteInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegionInstanceGroupManagersDeleteInstancesRequest :> Post '[JSON] Operation))))))))))
- regionInstanceGroupManagersDeleteInstances :: Text -> Text -> RegionInstanceGroupManagersDeleteInstancesRequest -> Text -> RegionInstanceGroupManagersDeleteInstances
- data RegionInstanceGroupManagersDeleteInstances
- rigmdiProject :: Lens' RegionInstanceGroupManagersDeleteInstances Text
- rigmdiInstanceGroupManager :: Lens' RegionInstanceGroupManagersDeleteInstances Text
- rigmdiPayload :: Lens' RegionInstanceGroupManagersDeleteInstances RegionInstanceGroupManagersDeleteInstancesRequest
- rigmdiRegion :: Lens' RegionInstanceGroupManagersDeleteInstances Text
REST Resource
type RegionInstanceGroupManagersDeleteInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("deleteInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegionInstanceGroupManagersDeleteInstancesRequest :> Post '[JSON] Operation)))))))))) #
A resource alias for compute.regionInstanceGroupManagers.deleteInstances
method which the
RegionInstanceGroupManagersDeleteInstances
request conforms to.
Creating a Request
regionInstanceGroupManagersDeleteInstances #
Arguments
:: Text | |
-> Text | |
-> RegionInstanceGroupManagersDeleteInstancesRequest | |
-> Text | |
-> RegionInstanceGroupManagersDeleteInstances |
Creates a value of RegionInstanceGroupManagersDeleteInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionInstanceGroupManagersDeleteInstances #
Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.
See: regionInstanceGroupManagersDeleteInstances
smart constructor.
Instances
Request Lenses
rigmdiProject :: Lens' RegionInstanceGroupManagersDeleteInstances Text #
Project ID for this request.
rigmdiInstanceGroupManager :: Lens' RegionInstanceGroupManagersDeleteInstances Text #
Name of the managed instance group.
rigmdiPayload :: Lens' RegionInstanceGroupManagersDeleteInstances RegionInstanceGroupManagersDeleteInstancesRequest #
Multipart request metadata.
rigmdiRegion :: Lens' RegionInstanceGroupManagersDeleteInstances Text #
Name of the region scoping this request.