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 interconnect. Get a list of available interconnects by making a list() request.
See: Compute Engine API Reference for compute.interconnects.get
.
Synopsis
- type InterconnectsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("interconnects" :> (Capture "interconnect" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Interconnect)))))))
- interconnectsGet :: Text -> Text -> InterconnectsGet
- data InterconnectsGet
- iProject :: Lens' InterconnectsGet Text
- iInterconnect :: Lens' InterconnectsGet Text
REST Resource
type InterconnectsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("interconnects" :> (Capture "interconnect" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Interconnect))))))) Source #
A resource alias for compute.interconnects.get
method which the
InterconnectsGet
request conforms to.
Creating a Request
Creates a value of InterconnectsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InterconnectsGet Source #
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
See: interconnectsGet
smart constructor.
Instances
Request Lenses
iInterconnect :: Lens' InterconnectsGet Text Source #
Name of the interconnect to return.