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 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.instanceGroupManagers.deleteInstances
.
- type InstanceGroupManagersDeleteInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("deleteInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersDeleteInstancesRequest :> Post '[JSON] Operation))))))))))
- instanceGroupManagersDeleteInstances :: Text -> Text -> Text -> InstanceGroupManagersDeleteInstancesRequest -> InstanceGroupManagersDeleteInstances
- data InstanceGroupManagersDeleteInstances
- igmdiProject :: Lens' InstanceGroupManagersDeleteInstances Text
- igmdiInstanceGroupManager :: Lens' InstanceGroupManagersDeleteInstances Text
- igmdiZone :: Lens' InstanceGroupManagersDeleteInstances Text
- igmdiPayload :: Lens' InstanceGroupManagersDeleteInstances InstanceGroupManagersDeleteInstancesRequest
REST Resource
type InstanceGroupManagersDeleteInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("deleteInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersDeleteInstancesRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for compute.instanceGroupManagers.deleteInstances
method which the
InstanceGroupManagersDeleteInstances
request conforms to.
Creating a Request
instanceGroupManagersDeleteInstances Source #
:: Text | |
-> Text | |
-> Text | |
-> InstanceGroupManagersDeleteInstancesRequest | |
-> InstanceGroupManagersDeleteInstances |
Creates a value of InstanceGroupManagersDeleteInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupManagersDeleteInstances Source #
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: instanceGroupManagersDeleteInstances
smart constructor.
Request Lenses
igmdiProject :: Lens' InstanceGroupManagersDeleteInstances Text Source #
Project ID for this request.
igmdiInstanceGroupManager :: Lens' InstanceGroupManagersDeleteInstances Text Source #
The name of the managed instance group.
igmdiZone :: Lens' InstanceGroupManagersDeleteInstances Text Source #
The name of the zone where the managed instance group is located.
igmdiPayload :: Lens' InstanceGroupManagersDeleteInstances InstanceGroupManagersDeleteInstancesRequest Source #
Multipart request metadata.