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 |
Create a new ManagedZone.
See: Google Cloud DNS API Reference for dns.managedZones.create
.
Synopsis
- type ManagedZonesCreateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Post '[JSON] ManagedZone)))))))
- managedZonesCreate :: Text -> ManagedZone -> ManagedZonesCreate
- data ManagedZonesCreate
- mzcProject :: Lens' ManagedZonesCreate Text
- mzcPayload :: Lens' ManagedZonesCreate ManagedZone
- mzcClientOperationId :: Lens' ManagedZonesCreate (Maybe Text)
REST Resource
type ManagedZonesCreateResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedZone :> Post '[JSON] ManagedZone))))))) Source #
A resource alias for dns.managedZones.create
method which the
ManagedZonesCreate
request conforms to.
Creating a Request
Creates a value of ManagedZonesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedZonesCreate Source #
Create a new ManagedZone.
See: managedZonesCreate
smart constructor.
Instances
Request Lenses
mzcProject :: Lens' ManagedZonesCreate Text Source #
Identifies the project addressed by this request.
mzcPayload :: Lens' ManagedZonesCreate ManagedZone Source #
Multipart request metadata.
mzcClientOperationId :: Lens' ManagedZonesCreate (Maybe Text) Source #
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.