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 |
Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.
See: Compute Engine API Reference for compute.regionInstanceGroupManagers.insert
.
- type RegionInstanceGroupManagersInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManager :> Post '[JSON] Operation))))))))
- regionInstanceGroupManagersInsert :: Text -> InstanceGroupManager -> Text -> RegionInstanceGroupManagersInsert
- data RegionInstanceGroupManagersInsert
- rigmiProject :: Lens' RegionInstanceGroupManagersInsert Text
- rigmiPayload :: Lens' RegionInstanceGroupManagersInsert InstanceGroupManager
- rigmiRegion :: Lens' RegionInstanceGroupManagersInsert Text
REST Resource
type RegionInstanceGroupManagersInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("instanceGroupManagers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupManager :> Post '[JSON] Operation)))))))) Source #
A resource alias for compute.regionInstanceGroupManagers.insert
method which the
RegionInstanceGroupManagersInsert
request conforms to.
Creating a Request
regionInstanceGroupManagersInsert Source #
Creates a value of RegionInstanceGroupManagersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionInstanceGroupManagersInsert Source #
Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.
See: regionInstanceGroupManagersInsert
smart constructor.
Request Lenses
rigmiProject :: Lens' RegionInstanceGroupManagersInsert Text Source #
Project ID for this request.
rigmiPayload :: Lens' RegionInstanceGroupManagersInsert InstanceGroupManager Source #
Multipart request metadata.
rigmiRegion :: Lens' RegionInstanceGroupManagersInsert Text Source #
Name of the region scoping this request.