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 |
Lists all instances in a project for either a specified location or for all locations.
See: Cloud Filestore API Reference for file.projects.locations.instances.list
.
Synopsis
- type ProjectsLocationsInstancesListResource = "v1beta1" :> (Capture "parent" Text :> ("instances" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListInstancesResponse))))))))))))
- projectsLocationsInstancesList :: Text -> ProjectsLocationsInstancesList
- data ProjectsLocationsInstancesList
- plilParent :: Lens' ProjectsLocationsInstancesList Text
- plilXgafv :: Lens' ProjectsLocationsInstancesList (Maybe Xgafv)
- plilUploadProtocol :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilOrderBy :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilAccessToken :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilUploadType :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilFilter :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilPageToken :: Lens' ProjectsLocationsInstancesList (Maybe Text)
- plilPageSize :: Lens' ProjectsLocationsInstancesList (Maybe Int32)
- plilCallback :: Lens' ProjectsLocationsInstancesList (Maybe Text)
REST Resource
type ProjectsLocationsInstancesListResource = "v1beta1" :> (Capture "parent" Text :> ("instances" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListInstancesResponse)))))))))))) Source #
A resource alias for file.projects.locations.instances.list
method which the
ProjectsLocationsInstancesList
request conforms to.
Creating a Request
projectsLocationsInstancesList Source #
Creates a value of ProjectsLocationsInstancesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsInstancesList Source #
Lists all instances in a project for either a specified location or for all locations.
See: projectsLocationsInstancesList
smart constructor.
Instances
Request Lenses
plilParent :: Lens' ProjectsLocationsInstancesList Text Source #
The project and location for which to retrieve instance information, in the format projects/{project_id}/locations/{location}. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use "-" for the {location} value.
plilUploadProtocol :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plilOrderBy :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
Sort results. Supported values are "name", "name desc" or "" (unsorted).
plilAccessToken :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
OAuth access token.
plilUploadType :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plilFilter :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
List filter.
plilPageToken :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
The next_page_token value to use if there are additional results to retrieve for this list request.
plilPageSize :: Lens' ProjectsLocationsInstancesList (Maybe Int32) Source #
The maximum number of items to return.
plilCallback :: Lens' ProjectsLocationsInstancesList (Maybe Text) Source #
JSONP