Skip to main content

code_signing_accounts

Creates, updates, deletes, gets or lists a code_signing_accounts resource.

Overview

Namecode_signing_accounts
TypeResource
Idazure.artifact_signing.code_signing_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
accountUristringThe URI of the artifact signing account which is used during signing files.
locationstringThe geo-location where the resource lives. Required.
provisioningStatestringStatus of the current operation on artifact signing account. Known values are: "Succeeded", "Failed", "Canceled", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Updating, Deleting, Accepted)
skuobjectSKU of the artifact signing account.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, subscription_idGet an artifact Signing Account.
check_name_availabilityselectsubscription_idChecks if the artifact signing account name is valid and is not already in use.
list_by_resource_groupselectresource_group_name, subscription_idLists artifact signing accounts within a resource group.
list_by_subscriptionselectsubscription_idLists artifact signing accounts within a subscription.
createinsertresource_group_name, account_name, subscription_id, locationCreate an artifact Signing Account.
updateupdateresource_group_name, account_name, subscription_idUpdate an artifact signing account.
deletedeleteresource_group_name, account_name, subscription_idDelete an artifact signing account.

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.

NameDatatypeDescription
account_namestringArtifact Signing account name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get an artifact Signing Account.

SELECT
id,
name,
accountUri,
location,
provisioningState,
sku,
systemData,
tags,
type
FROM azure.artifact_signing.code_signing_accounts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create an artifact Signing Account.

INSERT INTO azure.artifact_signing.code_signing_accounts (
tags,
location,
properties,
resource_group_name,
account_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update an artifact signing account.

UPDATE azure.artifact_signing.code_signing_accounts
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete an artifact signing account.

DELETE FROM azure.artifact_signing.code_signing_accounts
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;