accounts
Creates, updates, deletes, gets or lists an accounts
resource.
Overview
Name | accounts |
Type | Resource |
Id | azure_extras.code_signing.accounts |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , accountName | Get a trusted Signing Account. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Lists trusted signing accounts within a resource group. | |
list_by_subscription | select | subscriptionId | Lists trusted signing accounts within a subscription. | |
create | insert | subscriptionId , resourceGroupName , accountName | Create a trusted Signing Account. | |
update | update | subscriptionId , resourceGroupName , accountName | Update a trusted signing account. | |
delete | delete | subscriptionId , resourceGroupName , accountName | Delete a trusted signing account. | |
check_name_availability | exec | subscriptionId , name | Checks that the trusted signing account name is valid and is not already in use. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
accountName | string | Trusted Signing account name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get a trusted Signing Account.
SELECT
location,
properties,
tags
FROM azure_extras.code_signing.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;
Lists trusted signing accounts within a resource group.
SELECT
location,
properties,
tags
FROM azure_extras.code_signing.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Lists trusted signing accounts within a subscription.
SELECT
location,
properties,
tags
FROM azure_extras.code_signing.accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Create a trusted Signing Account.
INSERT INTO azure_extras.code_signing.accounts (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
accountName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: accounts
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the accounts resource.
- name: resourceGroupName
value: string
description: Required parameter for the accounts resource.
- name: accountName
value: string
description: Required parameter for the accounts resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Update a trusted signing account.
UPDATE azure_extras.code_signing.accounts
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
RETURNING
location,
properties,
tags;
DELETE
examples
- delete
Delete a trusted signing account.
DELETE FROM azure_extras.code_signing.accounts
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
;
Lifecycle Methods
- check_name_availability
Checks that the trusted signing account name is valid and is not already in use.
EXEC azure_extras.code_signing.accounts.check_name_availability
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}"
}'
;