Copyright | (c) 2015 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 |
Deletes the specified instances. The instances are deleted, then removed from the instance group and any target pools of which they were a member. The targetSize of the instance group manager is reduced by the number of instances deleted.
See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.deleteInstances
.
- type InstanceGroupManagersDeleteInstancesResource = "replicapool" :> ("v1beta2" :> ("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 = "replicapool" :> ("v1beta2" :> ("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 replicapool.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
Deletes the specified instances. The instances are deleted, then removed from the instance group and any target pools of which they were a member. The targetSize of the instance group manager is reduced by the number of instances deleted.
See: instanceGroupManagersDeleteInstances
smart constructor.
Request Lenses
igmdiProject :: Lens' InstanceGroupManagersDeleteInstances Text Source
The Google Developers Console project name.
igmdiInstanceGroupManager :: Lens' InstanceGroupManagersDeleteInstances Text Source
The name of the instance group manager.
igmdiZone :: Lens' InstanceGroupManagersDeleteInstances Text Source
The name of the zone in which the instance group manager resides.
igmdiPayload :: Lens' InstanceGroupManagersDeleteInstances InstanceGroupManagersDeleteInstancesRequest Source
Multipart request metadata.