Skip to main content

Vcp

post__vmware_datastore_vcp_create

Code samples

POST /vmware/datastore/vcp/create HTTP/1.1

Content-Type: application/json-patch+json

async: true

POST /vmware/datastore/vcp/create

Body parameter

{
  "volume": {
    "Application": "string",
    "Volume": "string",
    "VolumeEntityId": 0,
    "Id": 0,
    "MetadataVolumeEntityId": 0,
    "IsInternalVolume": true,
    "CapacityInBytes": 0,
    "SnapshotCapacityInBytes": 0,
    "Tiers": {
      "TierEntityIds": [
        0
      ],
      "TierPools": [
        "string"
      ],
      "TierN": [
        0
      ],
      "TierK": [
        0
      ],
      "TierSizesInBytes": [
        0
      ],
      "EvacuationThresholdsInPercentage": [
        0.1
      ],
      "LowerThresholdsInPercentage": [
        0.1
      ],
      "TierDataDegradationHistogram": [
        [
          0
        ]
      ],
      "TierMetadataDegradationHistogram": [
        [
          0
        ]
      ]
    },
    "IsRoot": true,
    "State": "Ok",
    "Vms": [
      "string"
    ],
    "Shares": [
      {
        "Application": "string",
        "Volume": "string",
        "Share": "string",
        "Path": "string",
        "Browsable": true,
        "RecycleBin": true,
        "ReadonlyAccess": true,
        "AllowedSubnets": [
          "string"
        ],
        "Smb": true,
        "Nfs": true
      }
    ],
    "Profile": "string",
    "Mapping": [
      {
        "Host": "string",
        "LunId": 0
      }
    ],
    "Naa": "string",
    "StatsInfo": {
      "UserDataAllocatedSizeInBytes": 0.1,
      "UserDataConsumedSizeInBytes": 0.1,
      "UpperTierAllocatedSizeInBytes": 0.1,
      "UpperTierConsumedSizeInBytes": 0.1,
      "RetentionAllocatedSizeInBytes": 0.1,
      "RetentionConsumedSizeInBytes": 0.1,
      "VRAIDAllocatedSizeInBytes": 0.1,
      "VRAIDConsumedSizeInBytes": 0.1,
      "Iops": 0.1,
      "LatencyInMilliseconds": 0.1,
      "IoSizeInBytes": 0.1,
      "ThroughputInBytes": 0.1
    },
    "FileSystemInformation": {
      "MountState": "Mounted",
      "ReplicationMetadata": "None",
      "EnableSnapone": true,
      "Profile": "string",
      "FilesystemState": "string",
      "InodeCount": "string",
      "FreeInodes": "string",
      "BlockSize": "string",
      "BlockCount": "string",
      "FreeBlocks": "string",
      "FilesystemCreated": "string",
      "LastMountTime": "string",
      "LastWriteTime": "string",
      "MountCount": "string",
      "LastChecked": "string",
      "LifeTimeWrites": "string"
    },
    "Object": {
      "Application": "string",
      "Volume": "string",
      "IP": "string",
      "FloatingIp": "string",
      "Port": 0,
      "EnableSsl": true,
      "AccessKeys": [
        "string"
      ],
      "ObjectProvider": "Minio"
    },
    "ConnectivityType": "None",
    "Replication": {
      "IpAddress": "string",
      "Port": 0,
      "Role": "Unknown",
      "InternalRole": "Unknown",
      "LocalDataStatus": "NotAvailable",
      "ReplicationPairs": [
        {
          "SyncInPercentage": 0.1,
          "ReplicationId": 0,
          "RemoteSystemName": "string",
          "RemoteSystemId": 0,
          "RemoteSystemRole": "Unknown",
          "IpAddress": "string",
          "Port": 0,
          "RemoteAppName": "string",
          "RemoteVolName": "string",
          "ReplicationProtocol": "None",
          "ConnectionStatus": "Initializing",
          "RemoteDataStatus": "NotAvailable",
          "RemoteDiskStatus": "Unknown"
        }
      ]
    },
    "Pool": "string",
    "StripedPools": [
      "string"
    ],
    "Log2StrideSectors": 0,
    "DataDegradationHistogram": [
      0
    ],
    "MetadataDegradationHistogram": [
      0
    ],
    "MetadataPool": "string",
    "StripedMetadataPools": [
      "string"
    ],
    "N": 0,
    "K": 0,
    "MetadataN": 0,
    "MetadataK": 0,
    "SectorSize": "string",
    "Cgid": 0,
    "GroupedVolume": "string",
    "DisableSpaceReclamation": true,
    "EncryptionKey": "string",
    "SaveEncryptedRecoveryKey": true,
    "Encrypted": true,
    "Uptime": "string",
    "ReadOnly": true,
    "Force": true
  },
  "datastore": {
    "Name": "string",
    "Type": "string",
    "Volume": [
      "string"
    ],
    "Details": [
      "string"
    ],
    "EsxiHosts": [
      "string"
    ],
    "Vms": [
      "string"
    ]
  },
  "SessionTokenVCP": "string",
  "VCenterAddress": "string"
}

Parameters

Name In Type Required Description
async header boolean false none
body body VolumeElementVcp false none

Responses

Status Meaning Description Schema
200 OK Success None