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 |
Delete a previously created ManagedZone.
See: Google Cloud DNS API Reference for dns.managedZones.delete
.
Synopsis
- type ManagedZonesDeleteResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- managedZonesDelete :: Text -> Text -> ManagedZonesDelete
- data ManagedZonesDelete
- mzdProject :: Lens' ManagedZonesDelete Text
- mzdManagedZone :: Lens' ManagedZonesDelete Text
- mzdClientOperationId :: Lens' ManagedZonesDelete (Maybe Text)
REST Resource
type ManagedZonesDeleteResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (Capture "managedZone" Text :> (QueryParam "clientOperationId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for dns.managedZones.delete
method which the
ManagedZonesDelete
request conforms to.
Creating a Request
Creates a value of ManagedZonesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedZonesDelete Source #
Delete a previously created ManagedZone.
See: managedZonesDelete
smart constructor.
Instances
Request Lenses
mzdProject :: Lens' ManagedZonesDelete Text Source #
Identifies the project addressed by this request.
mzdManagedZone :: Lens' ManagedZonesDelete Text Source #
Identifies the managed zone addressed by this request. Can be the managed zone name or id.
mzdClientOperationId :: Lens' ManagedZonesDelete (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.