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 |
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
See: Compute Engine API Reference for compute.regionDiskTypes.get
.
Synopsis
- type RegionDiskTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("diskTypes" :> (Capture "diskType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DiskType))))))))
- regionDiskTypesGet :: Text -> Text -> Text -> RegionDiskTypesGet
- data RegionDiskTypesGet
- rdtgProject :: Lens' RegionDiskTypesGet Text
- rdtgDiskType :: Lens' RegionDiskTypesGet Text
- rdtgRegion :: Lens' RegionDiskTypesGet Text
REST Resource
type RegionDiskTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("diskTypes" :> (Capture "diskType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DiskType)))))))) Source #
A resource alias for compute.regionDiskTypes.get
method which the
RegionDiskTypesGet
request conforms to.
Creating a Request
Creates a value of RegionDiskTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionDiskTypesGet Source #
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
See: regionDiskTypesGet
smart constructor.
Instances
Request Lenses
rdtgProject :: Lens' RegionDiskTypesGet Text Source #
Project ID for this request.
rdtgDiskType :: Lens' RegionDiskTypesGet Text Source #
Name of the disk type to return.
rdtgRegion :: Lens' RegionDiskTypesGet Text Source #
The name of the region for this request.