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 recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.
See: Compute Engine API Reference for compute.instanceGroupManagers.recreateInstances
.
- type InstanceGroupManagersRecreateInstancesResource = "compute" :> ("v1" :> ("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 = "compute" :> ("v1" :> ("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 compute.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 #
Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.
See: instanceGroupManagersRecreateInstances
smart constructor.
Request Lenses
igmriProject :: Lens' InstanceGroupManagersRecreateInstances Text Source #
Project ID for this request.
igmriInstanceGroupManager :: Lens' InstanceGroupManagersRecreateInstances Text Source #
The name of the managed instance group.
igmriZone :: Lens' InstanceGroupManagersRecreateInstances Text Source #
The name of the zone where the managed instance group is located.
igmriPayload :: Lens' InstanceGroupManagersRecreateInstances InstanceGroupManagersRecreateInstancesRequest Source #
Multipart request metadata.