Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
HTTP request
POST https://file.googleapis.com/v1/{parent=projects/*/locations/*}/instances
Required. The instance's project and location, in the format projects/{projectId}/locations/{location}. In Filestore, locations map to Google Cloud zones, for example us-west1-b.
Query parameters
Parameters
instanceId
string
Required. The name of the instance to create. The name must be unique for the specified project and location.
Request body
The request body contains an instance of Instance.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["This document describes how to create a new instance, specifying that instances created from backups must have a capacity equal to or larger than the backup and the minimum tier capacity."],["The process involves a POST HTTP request to a specified URL, including path parameters for the project and location, along with a required instance ID as a query parameter."],["The request body must contain instance details, while a successful response will include an operation instance."],["Authorization to create a new instance requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]