Skip to main content

certificate_orders_certificates

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

Overview

Namecertificate_orders_certificates
TypeResource
Idazure.app_service.certificate_orders_certificates

Fields

NameDatatypeDescription
idtextResource Id.
nametextResource Name.
certificateOrderNametextfield from the properties object
key_vault_idtextfield from the properties object
key_vault_secret_nametextfield from the properties object
kindtextKind of resource.
locationtextResource Location.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcertificateOrderName, name, resourceGroupName, subscriptionIdDescription for Get the certificate associated with a certificate order.
listSELECTcertificateOrderName, resourceGroupName, subscriptionIdDescription for List all certificates associated with a certificate order.
create_or_updateINSERTcertificateOrderName, name, resourceGroupName, subscriptionIdDescription for Creates or updates a certificate and associates with key vault secret.
deleteDELETEcertificateOrderName, name, resourceGroupName, subscriptionIdDescription for Delete the certificate associated with a certificate order.
updateUPDATEcertificateOrderName, name, resourceGroupName, subscriptionIdDescription for Creates or updates a certificate and associates with key vault secret.

SELECT examples

Description for List all certificates associated with a certificate order.

SELECT
id,
name,
certificateOrderName,
key_vault_id,
key_vault_secret_name,
kind,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
type
FROM azure.app_service.vw_certificate_orders_certificates
WHERE certificateOrderName = '{{ certificateOrderName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_service.certificate_orders_certificates (
certificateOrderName,
name,
resourceGroupName,
subscriptionId,
kind,
location,
tags,
properties
)
SELECT
'{{ certificateOrderName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;

UPDATE example

Updates a certificate_orders_certificates resource.

/*+ update */
UPDATE azure.app_service.certificate_orders_certificates
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
certificateOrderName = '{{ certificateOrderName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified certificate_orders_certificates resource.

/*+ delete */
DELETE FROM azure.app_service.certificate_orders_certificates
WHERE certificateOrderName = '{{ certificateOrderName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';