Copyright | (c) 2015 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 |
Lists instances under a given project in the alphabetical order of the instance name.
See: Cloud SQL Administration API Reference for sql.instances.list
.
- type InstancesListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` InstancesListResponse)))))))
- instancesList :: Text -> InstancesList
- data InstancesList
- ilProject :: Lens' InstancesList Text
- ilPageToken :: Lens' InstancesList (Maybe Text)
- ilMaxResults :: Lens' InstancesList (Maybe Word32)
REST Resource
type InstancesListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` InstancesListResponse))))))) Source
A resource alias for sql.instances.list
method which the
InstancesList
request conforms to.
Creating a Request
Creates a value of InstancesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesList Source
Lists instances under a given project in the alphabetical order of the instance name.
See: instancesList
smart constructor.
Request Lenses
ilProject :: Lens' InstancesList Text Source
Project ID of the project for which to list Cloud SQL instances.
ilPageToken :: Lens' InstancesList (Maybe Text) Source
A previously-returned page token representing part of the larger set of results to view.
ilMaxResults :: Lens' InstancesList (Maybe Word32) Source
The maximum number of results to return per response.