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 |
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.setTargetPools
.
- type InstanceGroupManagersSetTargetPoolsResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("setTargetPools" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` InstanceGroupManagersSetTargetPoolsRequest :> Post `[JSON]` Operation))))))))))
- instanceGroupManagersSetTargetPools :: Text -> Text -> Text -> InstanceGroupManagersSetTargetPoolsRequest -> InstanceGroupManagersSetTargetPools
- data InstanceGroupManagersSetTargetPools
- igmstpProject :: Lens' InstanceGroupManagersSetTargetPools Text
- igmstpInstanceGroupManager :: Lens' InstanceGroupManagersSetTargetPools Text
- igmstpZone :: Lens' InstanceGroupManagersSetTargetPools Text
- igmstpPayload :: Lens' InstanceGroupManagersSetTargetPools InstanceGroupManagersSetTargetPoolsRequest
REST Resource
type InstanceGroupManagersSetTargetPoolsResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("setTargetPools" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` InstanceGroupManagersSetTargetPoolsRequest :> Post `[JSON]` Operation)))))))))) Source
A resource alias for replicapool.instanceGroupManagers.setTargetPools
method which the
InstanceGroupManagersSetTargetPools
request conforms to.
Creating a Request
instanceGroupManagersSetTargetPools Source
:: Text | |
-> Text | |
-> Text | |
-> InstanceGroupManagersSetTargetPoolsRequest | |
-> InstanceGroupManagersSetTargetPools |
Creates a value of InstanceGroupManagersSetTargetPools
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupManagersSetTargetPools Source
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.
See: instanceGroupManagersSetTargetPools
smart constructor.
Request Lenses
igmstpProject :: Lens' InstanceGroupManagersSetTargetPools Text Source
The Google Developers Console project name.
igmstpInstanceGroupManager :: Lens' InstanceGroupManagersSetTargetPools Text Source
The name of the instance group manager.
igmstpZone :: Lens' InstanceGroupManagersSetTargetPools Text Source
The name of the zone in which the instance group manager resides.
igmstpPayload :: Lens' InstanceGroupManagersSetTargetPools InstanceGroupManagersSetTargetPoolsRequest Source
Multipart request metadata.