Microsoft.CodeSigning (preview:2024-09-30)

2025/10/16 • 1 updated methods

CodeSigningAccounts_CheckNameAvailability (updated)
Description Checks that the trusted signing account name is valid and is not already in use.
Reference Link ¶

⚶ Changes

{
  "#id": "CodeSigningAccounts_CheckNameAvailability",
  "$parameters": {
    "body": {
      "$properties": {
        "@added_fae8f7ff9c814b65b9e5c6dc7ac1d75b": {
          "#name": "type",
          "Description": "The type of the resource, \"Microsoft.CodeSigning/codeSigningAccounts\".",
          "Required": true,
          "Type": "string"
        }
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.CodeSigning/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
body:
{
type: string ,
name: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

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