v7

latestSwagger 2.02026-07-132120103.4 KB

Creates a key-value.

Creates a key-value.

put/kv/{key}

Path parameters

keystring required

The key of the key-value to create.

Query parameters

api-versionstring required

The API version to use for this operation.

labelstring

The label of the key-value to create.

Headers

Sync-Tokenstring

Used to guarantee real-time consistency between requests.

If-Matchstring

Used to perform an operation only if the targeted resource's etag matches the value provided.

If-None-Matchstring

Used to perform an operation only if the targeted resource's etag does not match the value provided.

x-ms-client-request-idstring uuid

An opaque, globally-unique, client-generated string identifier for the request.

Request body

keystring required

The key of the key-value.

labelstring

The label the key-value belongs to.

content_typestring

The content type of the value stored within the key-value.

valuestring

The value of the key-value.

last_modifiedstring date-time

A date representing the last time the key-value was modified.

tagsobject

The tags of the key-value

descriptionstring

The description of the key-value.

lockedboolean

Indicates whether the key-value is locked.

etagstring

A value representing the current state of the resource.

Response

The request has succeeded.

keystring required

The key of the key-value.

labelstring

The label the key-value belongs to.

content_typestring

The content type of the value stored within the key-value.

valuestring

The value of the key-value.

last_modifiedstring date-time

A date representing the last time the key-value was modified.

tagsobject

The tags of the key-value

descriptionstring

The description of the key-value.

lockedboolean

Indicates whether the key-value is locked.

etagstring

A value representing the current state of the resource.