Console API
  1. Storage Policy
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
      GET
    • Create
      POST
    • Rename
      PUT
    • Delete
      DELETE
    • Manage tags
      POST
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
    • Get all user groups
    • Create user group
    • Update user group
    • Get roles
    • Get user vpcs
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. Storage Policy

List

Developing
GET
/api/v1/vmware/vpc/{vpc_id}/storage-policies

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
vpc_id
string 
required
Header Params
OrgId
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/vmware/vpc//storage-policies' \
--header 'OrgId;'

Responses

🟢200Success
application/json
Body
data
array [object {4}] 
required
id
string 
required
name
string 
required
isDefault
boolean  | null 
required
id_db
string 
required
Example
{
    "data": [
        {
            "id": "e819303c-d434-454f-aa2e-31f57e0c77c0",
            "name": "Premium-SSD-4000",
            "isDefault": false,
            "id_db": "0f0cfdab-e690-432c-90f7-faf25698160a"
        },
        {
            "id": "45e3078a-7530-4730-89ef-e018471e3e51",
            "name": "Premium-SSD-3000",
            "isDefault": false,
            "id_db": "6383af75-0608-47ab-8636-e9088a814faf"
        },
        {
            "id": "3221ddee-07a0-48f7-b74e-9342918f9d9a",
            "name": "Premium-SSD",
            "isDefault": true,
            "id_db": "e50f28cf-9bc8-49b4-9998-4ed36fa4e207"
        },
        {
            "id": "587544f6-e409-4009-9555-2e49c2a1deca",
            "name": "Premium-SSD-5000",
            "isDefault": null,
            "id_db": "949ceaff-3a76-4581-8435-f9a3dfd96c2b"
        },
        {
            "id": "3284e798-26ef-4883-b51e-5f7d42dda3a5",
            "name": "Premium-SSD-15000",
            "isDefault": null,
            "id_db": "e3ad9ebd-c0c3-4fd2-9b50-920a2eb693dd"
        },
        {
            "id": "af9a6722-da33-461f-8712-de0be920ad46",
            "name": "Premium-SSD-18000",
            "isDefault": null,
            "id_db": "5b038ab6-7847-4d47-a46e-afe91b041bb3"
        },
    ]
}
Modified at 2024-01-17 18:43:34
Previous
Get flavors
Next
List
Built with