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 |
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.
See: Compute Engine API Reference for compute.instanceGroupManagers.setTargetPools
.
- type InstanceGroupManagersSetTargetPoolsResource = "compute" :> ("v1" :> ("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 = "compute" :> ("v1" :> ("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 compute.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 instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.
See: instanceGroupManagersSetTargetPools
smart constructor.
Request Lenses
igmstpProject :: Lens' InstanceGroupManagersSetTargetPools Text Source #
Project ID for this request.
igmstpInstanceGroupManager :: Lens' InstanceGroupManagersSetTargetPools Text Source #
The name of the managed instance group.
igmstpZone :: Lens' InstanceGroupManagersSetTargetPools Text Source #
The name of the zone where the managed instance group is located.
igmstpPayload :: Lens' InstanceGroupManagersSetTargetPools InstanceGroupManagersSetTargetPoolsRequest Source #
Multipart request metadata.