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 |
Enumerate ManagedZones that have been created but not yet deleted.
See: Google Cloud DNS API Reference for dns.managedZones.list
.
Synopsis
- type ManagedZonesListResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (QueryParam "pageToken" Text :> (QueryParam "dnsName" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ManagedZonesListResponse))))))))
- managedZonesList :: Text -> ManagedZonesList
- data ManagedZonesList
- mzlProject :: Lens' ManagedZonesList Text
- mzlPageToken :: Lens' ManagedZonesList (Maybe Text)
- mzlDNSName :: Lens' ManagedZonesList (Maybe Text)
- mzlMaxResults :: Lens' ManagedZonesList (Maybe Int32)
REST Resource
type ManagedZonesListResource = "dns" :> ("v2beta1" :> ("projects" :> (Capture "project" Text :> ("managedZones" :> (QueryParam "pageToken" Text :> (QueryParam "dnsName" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ManagedZonesListResponse)))))))) Source #
A resource alias for dns.managedZones.list
method which the
ManagedZonesList
request conforms to.
Creating a Request
Creates a value of ManagedZonesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedZonesList Source #
Enumerate ManagedZones that have been created but not yet deleted.
See: managedZonesList
smart constructor.
Instances
Request Lenses
mzlProject :: Lens' ManagedZonesList Text Source #
Identifies the project addressed by this request.
mzlPageToken :: Lens' ManagedZonesList (Maybe Text) Source #
Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
mzlDNSName :: Lens' ManagedZonesList (Maybe Text) Source #
Restricts the list to return only zones with this domain name.
mzlMaxResults :: Lens' ManagedZonesList (Maybe Int32) Source #
Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.