---
title: "POST /cloudhsm/cloudhsms"
method: POST
path: "/cloudhsm/cloudhsms"
tags: ["cloudhsm"]
---

# POST /cloudhsm/cloudhsms

`POST /cloudhsm/cloudhsms`

## Request

- Base URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1`
- URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1/cloudhsm/cloudhsms`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/docs/cloudhsm/cloudhsms/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- WrappedCreateCloudHSMRequest
  - `CloudHSM` CreateCloudHSMRequest, required
    - `Name` string, required
    - `Description` string
    - `Tags` string[], nullable
    - `IPv4NetworkAddress` string, required
    - `IPv4PrefixLength` integer, required

## Response `201`

- WrappedCreateCloudHSM
  - `CloudHSM` CreateCloudHSM, required
    - `ID` string
    - `CreatedAt` string, iso8601
    - `ModifiedAt` string, iso8601
    - `ServiceClass` 'cloud/cloudhsm/partition': * `cloud/cloudhsm/partition` - Type-L7
    - `Availability` 'precreate' | 'available' | 'discontinued': * `precreate` - 準備中 * `available` - 利用可能 * `discontinued` - 廃止
    - `Name` string, required
    - `Description` string
    - `Tags` string[], nullable
    - `IPv4NetworkAddress` string, required
    - `IPv4PrefixLength` integer, required
    - `IPv4Address` string
  - `is_ok` boolean, required

---

[API](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api.md) - [All operations](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/revisions/9a535fabbdfa?raw)
