This endpoint provisions an existing volume that was created in one space to another space within the same organization. Single containers and container groups in each space can read and write to the shared volume. The volume remains owned by the original space it was created in, including management and billing. For example, the volume can be deleted from the original space only.
643 matches
46 actions
IBM Containers
46 actions
- Bind a public IP address to a single containerPOSTv1.0.0
- Build a Docker image from a DockerfilePOSTv1.0.0
- Check the availability of a namespaceGETv1.0.0
- Create a file share in a spacePOSTv1.0.0
- Create a volume in a spacePOSTv1.0.0
- Create and start a container group.POSTv1.0.0
- Create and start a single containerPOSTv1.0.0
- Delete a file shareDELETEv1.0.0
- Delete a volumeDELETEv1.0.0
- Inspect a container group.GETv1.0.0
- Inspect a Docker image in private Bluemix registryGETv1.0.0
- Inspect a file shareGETv1.0.0
- Inspect a single containerGETv1.0.0
- List all container groups in a spaceGETv1.0.0
- List all Docker images that are available in your private Bluemix registry.GETv1.0.0
- List all volumes for a spaceGETv1.0.0
- List available file share sizesGETv1.0.0
- List available file shares in a spaceGETv1.0.0
- List available public IP addresses in a spaceGETv1.0.0
- List container sizes and quota limitsGETv1.0.0
- List messages for the userGETv1.0.0
- List single containers in a space.GETv1.0.0
- List the current state of a container.GETv1.0.0
- Map a public route to a container group.POSTv1.0.0
- Pause a single containerPOSTv1.0.0
- Refresh the TLS CertificatePUTv1.0.0
- Release public IP addressPOSTv1.0.0
- Remove a Docker image.DELETEv1.0.0
- Remove a single containerDELETEv1.0.0
- Rename a single containerPOSTv1.0.0
- Request a public IP address for a spacePOSTv1.0.0
- Restart a single containerPOSTv1.0.0
- Retrieve detailed information about a volume. GETv1.0.0
- Retrieve organization and space specific quotaGETv1.0.0
- Retrieve the namespace of an organization.GETv1.0.0
- Retrieve the TLS CertificateGETv1.0.0
- Set a namespace for your private Bluemix registry.PUTv1.0.0
- Share a volume with another spacePOSTv1.0.0
- Start a single containerPOSTv1.0.0
- Stop a single containerPOSTv1.0.0
- Stop and delete all container instances in a container group.DELETEv1.0.0
- Unbind a public IP address from a containerPOSTv1.0.0
- Unmap a public route from a container groupPOSTv1.0.0
- Unpause a single containerPOSTv1.0.0
- Update a container group.PATCHv1.0.0
- Update space quotaPUTv1.0.0
Other/IBM Containers
Share a volume with another space
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
{
"type": "object",
"properties": {
"X-Auth-Project-Id": {
"type": "string"
},
"X-Auth-Token": {
"type": "string"
},
"addSpaces": {
"type": "array",
"description": "The name or ID of the space where you want to provision your existing volume. Run `cf spaces` to retrieve the name, or `cf space <space_name> --guid` to retrieve the space ID. ",
"items": {
"type": "string"
}
},
"name": {
"type": "string"
},
"removeSpaces": {
"type": "array",
"description": "The name or ID of the space from which you want to unprovision your existing volume. Run `cf spaces` to retrieve the name, or `cf space <space_name> --guid` to retrieve the space ID.",
"items": {
"type": "string"
}
}
},
"required": [
"X-Auth-Project-Id",
"X-Auth-Token",
"name"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
{
"properties": {
"fsID": {
"type": "string",
"description": " Unique identifier representing the file share on which the volume is hosted. "
},
"hostPath": {
"type": "string",
"description": "Full path to the mounted volume inside the container."
},
"otherSpaceVisibility": {
"type": "array",
"description": "List of space IDs in which the volume is visible and can be used by all the single containers and container groups. ",
"items": {
"type": "string"
}
},
"spaceGuid": {
"type": "string",
"description": "Unique identifier representing the space where the volume got created."
},
"volName": {
"type": "string",
"description": "The name of the volume."
}
}
}