Microsoft.AzureStackHCI (preview:2025-12-01)

2025/12/08 • 1 updated methods

OwnershipVouchers_Validate (updated)
Description Validates ownership vouchers.
Reference Link ¶

⚶ Changes

{
  "#id": "OwnershipVouchers_Validate",
  "$parameters": [
    {
      "#name": "validationRequest",
      "Description": {
        "new": "The content of the action request",
        "old": "Ownership vouchers to be validated."
      }
    }
  ]
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/locations/{location}/validateOwnershipVouchers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
location: string ,
validationRequest:
{
ownershipVoucherDetails:
[
{
ownershipVoucher: string ,
ownerKeyType: enum ,
}
,
]
,
}
,
}

⚐ Response (200)

{
ownershipVoucherValidationDetails:
[
{
validationStatus: enum ,
serialNumber: string ,
id: string ,
manufacturer: string ,
modelName: string ,
version: string ,
azureMachineId: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}