Skip to main content

certificates

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

Overview

Namecertificates
TypeResource
Idazure_isv.nginx.certificates

Fields

NameDatatypeDescription
idtextfield from the properties object
nametextfield from the properties object
certificateNametextfield from the properties object
certificate_errortextfield from the properties object
certificate_virtual_pathtextfield from the properties object
deploymentNametextfield from the properties object
key_vault_secret_createdtextfield from the properties object
key_vault_secret_idtextfield from the properties object
key_vault_secret_versiontextfield from the properties object
key_virtual_pathtextfield from the properties object
locationtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
sha1_thumbprinttextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcertificateName, deploymentName, resourceGroupName, subscriptionId
listSELECTdeploymentName, resourceGroupName, subscriptionId
create_or_updateINSERTcertificateName, deploymentName, resourceGroupName, subscriptionId
deleteDELETEcertificateName, deploymentName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
certificateName,
certificate_error,
certificate_virtual_path,
deploymentName,
key_vault_secret_created,
key_vault_secret_id,
key_vault_secret_version,
key_virtual_path,
location,
provisioning_state,
resourceGroupName,
sha1_thumbprint,
subscriptionId,
system_data,
type
FROM azure_isv.nginx.vw_certificates
WHERE deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.nginx.certificates (
certificateName,
deploymentName,
resourceGroupName,
subscriptionId,
properties,
location
)
SELECT
'{{ certificateName }}',
'{{ deploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}'
;

DELETE example

Deletes the specified certificates resource.

/*+ delete */
DELETE FROM azure_isv.nginx.certificates
WHERE certificateName = '{{ certificateName }}'
AND deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';