Skip to main content

certificate_profiles

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

Overview

Namecertificate_profiles
TypeResource
Idazure_extras.code_signing.certificate_profiles

Fields

NameDatatypeDescription
accountNametextfield from the properties object
certificatestextfield from the properties object
citytextfield from the properties object
common_nametextfield from the properties object
countrytextfield from the properties object
enhanced_key_usagetextfield from the properties object
identity_validation_idtextfield from the properties object
include_citytextfield from the properties object
include_countrytextfield from the properties object
include_postal_codetextfield from the properties object
include_statetextfield from the properties object
include_street_addresstextfield from the properties object
organizationtextfield from the properties object
organization_unittextfield from the properties object
postal_codetextfield from the properties object
profileNametextfield from the properties object
profile_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
statustextfield from the properties object
street_addresstextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, profileName, resourceGroupName, subscriptionIdGet details of a certificate profile.
list_by_code_signing_accountSELECTaccountName, resourceGroupName, subscriptionIdList certificate profiles under a trusted signing account.
createINSERTaccountName, profileName, resourceGroupName, subscriptionIdCreate a certificate profile.
deleteDELETEaccountName, profileName, resourceGroupName, subscriptionIdDelete a certificate profile.
revoke_certificateEXECaccountName, profileName, resourceGroupName, subscriptionId, data__effectiveAt, data__reason, data__serialNumber, data__thumbprintRevoke a certificate under a certificate profile.

SELECT examples

List certificate profiles under a trusted signing account.

SELECT
accountName,
certificates,
city,
common_name,
country,
enhanced_key_usage,
identity_validation_id,
include_city,
include_country,
include_postal_code,
include_state,
include_street_address,
organization,
organization_unit,
postal_code,
profileName,
profile_type,
provisioning_state,
resourceGroupName,
state,
status,
street_address,
subscriptionId
FROM azure_extras.code_signing.vw_certificate_profiles
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new certificate_profiles resource.

/*+ create */
INSERT INTO azure_extras.code_signing.certificate_profiles (
accountName,
profileName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ profileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified certificate_profiles resource.

/*+ delete */
DELETE FROM azure_extras.code_signing.certificate_profiles
WHERE accountName = '{{ accountName }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';