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