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 |
Retrieves runtime information of the specified router.
See: Compute Engine API Reference for compute.routers.getRouterStatus
.
Synopsis
- type RoutersGetRouterStatusResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> ("getRouterStatus" :> (QueryParam "alt" AltJSON :> Get '[JSON] RouterStatusResponse)))))))))
- routersGetRouterStatus :: Text -> Text -> Text -> RoutersGetRouterStatus
- data RoutersGetRouterStatus
- rgrsProject :: Lens' RoutersGetRouterStatus Text
- rgrsRouter :: Lens' RoutersGetRouterStatus Text
- rgrsRegion :: Lens' RoutersGetRouterStatus Text
REST Resource
type RoutersGetRouterStatusResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> ("getRouterStatus" :> (QueryParam "alt" AltJSON :> Get '[JSON] RouterStatusResponse))))))))) Source #
A resource alias for compute.routers.getRouterStatus
method which the
RoutersGetRouterStatus
request conforms to.
Creating a Request
routersGetRouterStatus Source #
Creates a value of RoutersGetRouterStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RoutersGetRouterStatus Source #
Retrieves runtime information of the specified router.
See: routersGetRouterStatus
smart constructor.
Instances
Request Lenses
rgrsProject :: Lens' RoutersGetRouterStatus Text Source #
Project ID for this request.
rgrsRouter :: Lens' RoutersGetRouterStatus Text Source #
Name of the Router resource to query.
rgrsRegion :: Lens' RoutersGetRouterStatus Text Source #
Name of the region for this request.