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 |
List the resources of the resource view.
See: Google Compute Engine Instance Groups API Reference for resourceviews.zoneViews.listResources
.
- type ZoneViewsListResourcesResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("resources" :> (QueryParam "listState" ZoneViewsListResourcesListState :> (QueryParam "format" ZoneViewsListResourcesFormat :> (QueryParam "serviceName" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ZoneViewsListResourcesResponse))))))))))))))
- zoneViewsListResources :: Text -> Text -> Text -> ZoneViewsListResources
- data ZoneViewsListResources
- zvlrResourceView :: Lens' ZoneViewsListResources Text
- zvlrListState :: Lens' ZoneViewsListResources ZoneViewsListResourcesListState
- zvlrProject :: Lens' ZoneViewsListResources Text
- zvlrFormat :: Lens' ZoneViewsListResources (Maybe ZoneViewsListResourcesFormat)
- zvlrZone :: Lens' ZoneViewsListResources Text
- zvlrServiceName :: Lens' ZoneViewsListResources (Maybe Text)
- zvlrPageToken :: Lens' ZoneViewsListResources (Maybe Text)
- zvlrMaxResults :: Lens' ZoneViewsListResources Int32
REST Resource
type ZoneViewsListResourcesResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("resources" :> (QueryParam "listState" ZoneViewsListResourcesListState :> (QueryParam "format" ZoneViewsListResourcesFormat :> (QueryParam "serviceName" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ZoneViewsListResourcesResponse)))))))))))))) Source #
A resource alias for resourceviews.zoneViews.listResources
method which the
ZoneViewsListResources
request conforms to.
Creating a Request
zoneViewsListResources Source #
Creates a value of ZoneViewsListResources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ZoneViewsListResources Source #
List the resources of the resource view.
See: zoneViewsListResources
smart constructor.
Request Lenses
zvlrResourceView :: Lens' ZoneViewsListResources Text Source #
The name of the resource view.
zvlrListState :: Lens' ZoneViewsListResources ZoneViewsListResourcesListState Source #
The state of the instance to list. By default, it lists all instances.
zvlrProject :: Lens' ZoneViewsListResources Text Source #
The project name of the resource view.
zvlrFormat :: Lens' ZoneViewsListResources (Maybe ZoneViewsListResourcesFormat) Source #
The requested format of the return value. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default format is NONE, which results in no JSON in the response.
zvlrServiceName :: Lens' ZoneViewsListResources (Maybe Text) Source #
The service name to return in the response. It is optional and if it is not set, all the service end points will be returned.
zvlrPageToken :: Lens' ZoneViewsListResources (Maybe Text) Source #
Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
zvlrMaxResults :: Lens' ZoneViewsListResources Int32 Source #
Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)