gogol-dns-0.0.1: Google Cloud DNS SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DNS.ManagedZones.Create

Contents

Description

Create a new ManagedZone.

See: Google Cloud DNS API Reference for dns.managedZones.create.

Synopsis

REST Resource

type ManagedZonesCreateResource = "dns" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (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

managedZonesCreate Source

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:

Request Lenses

mzcProject :: Lens' ManagedZonesCreate Text Source

Identifies the project addressed by this request.

mzcPayload :: Lens' ManagedZonesCreate ManagedZone Source

Multipart request metadata.