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 |
Recreates the specified instances. The instances are deleted, then recreated using the instance group manager's current instance template.
See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.recreateInstances
.
- type InstanceGroupManagersRecreateInstancesResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("recreateInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersRecreateInstancesRequest :> Post '[JSON] Operation))))))))))
- instanceGroupManagersRecreateInstances :: Text -> Text -> Text -> InstanceGroupManagersRecreateInstancesRequest -> InstanceGroupManagersRecreateInstances
- data InstanceGroupManagersRecreateInstances
- igmriProject :: Lens' InstanceGroupManagersRecreateInstances Text
- igmriInstanceGroupManager :: Lens' InstanceGroupManagersRecreateInstances Text
- igmriZone :: Lens' InstanceGroupManagersRecreateInstances Text
- igmriPayload :: Lens' InstanceGroupManagersRecreateInstances InstanceGroupManagersRecreateInstancesRequest
REST Resource
type InstanceGroupManagersRecreateInstancesResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("recreateInstances" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManagersRecreateInstancesRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for replicapool.instanceGroupManagers.recreateInstances
method which the
InstanceGroupManagersRecreateInstances
request conforms to.
Creating a Request
instanceGroupManagersRecreateInstances Source #
:: Text | |
-> Text | |
-> Text | |
-> InstanceGroupManagersRecreateInstancesRequest | |
-> InstanceGroupManagersRecreateInstances |
Creates a value of InstanceGroupManagersRecreateInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupManagersRecreateInstances Source #
Recreates the specified instances. The instances are deleted, then recreated using the instance group manager's current instance template.
See: instanceGroupManagersRecreateInstances
smart constructor.
Request Lenses
igmriProject :: Lens' InstanceGroupManagersRecreateInstances Text Source #
The Google Developers Console project name.
igmriInstanceGroupManager :: Lens' InstanceGroupManagersRecreateInstances Text Source #
The name of the instance group manager.
igmriZone :: Lens' InstanceGroupManagersRecreateInstances Text Source #
The name of the zone in which the instance group manager resides.
igmriPayload :: Lens' InstanceGroupManagersRecreateInstances InstanceGroupManagersRecreateInstancesRequest Source #
Multipart request metadata.