Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Commands/artifact-signing/_check-name-availability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing check-name-availability_

Checks that the artifact signing account name is valid and is not already in use.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.codesigning/checknameavailability 2025-10-13 -->

#### examples

- Check if account name is available
```bash
artifact-signing check-name-availability --type Microsoft.CodeSigning/codeSigningAccounts --name MyAccount
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing create_

Create an artifact signing account.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{} 2025-10-13 -->

#### examples

- Create an account
```bash
artifact-signing create -n MyAccount -l westus -g MyResourceGroup --sku Basic
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing delete_

Delete an artifact signing account.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{} 2025-10-13 -->

#### examples

- Delete an account
```bash
artifact-signing delete -n MyAccount -g MyResourceGroup
```
17 changes: 17 additions & 0 deletions Commands/artifact-signing/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _artifact-signing list_

List artifact signing accounts within a subscription.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRz/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.codesigning/codesigningaccounts 2025-10-13 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts 2025-10-13 -->

#### examples

- Lists accounts under a resource group
```bash
artifact-signing list -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing show_

Get an artifact signing account.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{} 2025-10-13 -->

#### examples

- Show the details of an account
```bash
artifact-signing show -n MyAccount -g MyResourceGroup
```
21 changes: 21 additions & 0 deletions Commands/artifact-signing/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _artifact-signing update_

Update an artifact signing account.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{} 2025-10-13 -->

#### examples

- Update sku
```bash
artifact-signing update -n MyAccount -g MyResourceGroup --sku Premium
```

- Update tags
```bash
artifact-signing update -n MyAccount -g MyResourceGroup --tags "key1=value1 key2=value2"
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/certificate-profile/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing certificate-profile create_

Create a certificate profile.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9L2NlcnRpZmljYXRlcHJvZmlsZXMve30=/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{}/certificateprofiles/{} 2025-10-13 -->

#### examples

- Create a certificate profile that includes street address in subject name of certificate
```bash
artifact-signing certificate-profile create -g MyResourceGroup --account-name MyAccount -n MyProfile --profile-type PublicTrust --identity-validation-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --include-street true
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/certificate-profile/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing certificate-profile delete_

Delete a certificate profile.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9L2NlcnRpZmljYXRlcHJvZmlsZXMve30=/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{}/certificateprofiles/{} 2025-10-13 -->

#### examples

- Delete a certificate profile.
```bash
artifact-signing certificate-profile delete -g MyResourceGroup --account-name MyAccount -n MyProfile
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/certificate-profile/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing certificate-profile list_

List certificate profiles under an artifact signing account.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9L2NlcnRpZmljYXRlcHJvZmlsZXM=/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{}/certificateprofiles 2025-10-13 -->

#### examples

- List certificate profiles under an artifact signing account
```bash
artifact-signing certificate-profile list -g MyResourceGroup --account-name MyAccount
```
16 changes: 16 additions & 0 deletions Commands/artifact-signing/certificate-profile/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _artifact-signing certificate-profile show_

Get details of a certificate profile.

## Versions

### [2025-10-13](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb2Rlc2lnbmluZy9jb2Rlc2lnbmluZ2FjY291bnRzL3t9L2NlcnRpZmljYXRlcHJvZmlsZXMve30=/2025-10-13.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.codesigning/codesigningaccounts/{}/certificateprofiles/{} 2025-10-13 -->

#### examples

- Get details of a certificate profile.
```bash
artifact-signing certificate-profile show -g MyResourceGroup --account-name MyAccount -n MyProfile
```
17 changes: 17 additions & 0 deletions Commands/artifact-signing/certificate-profile/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Group] _artifact-signing certificate-profile_

Manage certificate profiles under an artifact signing account.

## Commands

- [create](/Commands/artifact-signing/certificate-profile/_create.md)
: Create a certificate profile.

- [delete](/Commands/artifact-signing/certificate-profile/_delete.md)
: Delete a certificate profile.

- [list](/Commands/artifact-signing/certificate-profile/_list.md)
: List certificate profiles under an artifact signing account.

- [show](/Commands/artifact-signing/certificate-profile/_show.md)
: Get details of a certificate profile.
28 changes: 28 additions & 0 deletions Commands/artifact-signing/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# [Group] _artifact-signing_

Manage artifact signing account.

## Subgroups

- [certificate-profile](/Commands/artifact-signing/certificate-profile/readme.md)
: Manage certificate profiles under an artifact signing account.

## Commands

- [check-name-availability](/Commands/artifact-signing/_check-name-availability.md)
: Checks that the artifact signing account name is valid and is not already in use.

- [create](/Commands/artifact-signing/_create.md)
: Create an artifact signing account.

- [delete](/Commands/artifact-signing/_delete.md)
: Delete an artifact signing account.

- [list](/Commands/artifact-signing/_list.md)
: List artifact signing accounts within a subscription.

- [show](/Commands/artifact-signing/_show.md)
: Get an artifact signing account.

- [update](/Commands/artifact-signing/_update.md)
: Update an artifact signing account.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
- [arcgateway](/Commands/arcgateway/readme.md)
: Manage gateway connection on Arc machine

- [artifact-signing](/Commands/artifact-signing/readme.md)
: Manage artifact signing account.

- [astronomer](/Commands/astronomer/readme.md)
: Manage Azure Astronomer resources.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.codesigning/checknameavailability", "version": "2025-10-13", "swagger": "mgmt-plane/codesigning/ResourceProviders/Microsoft.CodeSigning/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZGVTaWduaW5nL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNS0xMC0xMw=="}], "commandGroups": [{"name": "artifact-signing", "commands": [{"name": "check-name-availability", "version": "2025-10-13", "resources": [{"id": "/subscriptions/{}/providers/microsoft.codesigning/checknameavailability", "version": "2025-10-13", "swagger": "mgmt-plane/codesigning/ResourceProviders/Microsoft.CodeSigning/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZGVTaWduaW5nL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNS0xMC0xMw=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": ""}}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.name", "options": ["n", "name"], "required": true, "group": "Body", "help": {"short": "Artifact signing account name."}}, {"type": "string", "var": "$body.type", "options": ["type"], "required": true, "group": "Body", "help": {"short": "The type of the resource, \"Microsoft.CodeSigning/codeSigningAccounts\"."}}]}], "operations": [{"operationId": "CodeSigningAccounts_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.CodeSigning/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-10-13"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "name", "arg": "$body.name", "required": true}, {"type": "string", "name": "type", "arg": "$body.type", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "boolean", "name": "nameAvailable"}, {"readOnly": true, "type": "string", "name": "reason", "enum": {"items": [{"value": "AccountNameInvalid"}, {"value": "AlreadyExists"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.codesigning/checknameavailability" version="2025-10-13" swagger="mgmt-plane/codesigning/ResourceProviders/Microsoft.CodeSigning/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZGVTaWduaW5nL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNS0xMC0xMw=="/>
<commandGroup name="artifact-signing">
<command name="check-name-availability" version="2025-10-13" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.codesigning/checknameavailability" version="2025-10-13" swagger="mgmt-plane/codesigning/ResourceProviders/Microsoft.CodeSigning/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZGVTaWduaW5nL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNS0xMC0xMw=="/>
<argGroup name="">
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription s" required="True" group="" idPart="subscription">
<help short=""/>
</arg>
</argGroup>
<argGroup name="Body">
<arg type="string" var="$body.name" options="name n" required="True" group="Body">
<help short="Artifact signing account name."/>
</arg>
<arg type="string" var="$body.type" options="type" required="True" group="Body">
<help short="The type of the resource, &quot;Microsoft.CodeSigning/codeSigningAccounts&quot;."/>
</arg>
</argGroup>
<operation operationId="CodeSigningAccounts_CheckNameAvailability">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.CodeSigning/checkNameAvailability">
<request method="post">
<path>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2025-10-13&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="body" required="True" clientFlatten="True">
<prop type="string" name="name" arg="$body.name" required="True"/>
<prop type="string" name="type" arg="$body.type" required="True"/>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="boolean" name="nameAvailable"/>
<prop readOnly="True" type="string" name="reason">
<enum>
<item value="&quot;AccountNameInvalid&quot;"/>
<item value="&quot;AlreadyExists&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>
Loading