Skip to main content

custom_certificates

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

Overview

Namecustom_certificates
TypeResource
Idazure.signalr.custom_certificates

Fields

NameDatatypeDescription
certificateNametextfield from the properties object
key_vault_base_uritextfield from the properties object
key_vault_secret_nametextfield from the properties object
key_vault_secret_versiontextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcertificateName, resourceGroupName, resourceName, subscriptionIdGet a custom certificate.
listSELECTresourceGroupName, resourceName, subscriptionIdList all custom certificates.
create_or_updateINSERTcertificateName, resourceGroupName, resourceName, subscriptionId, data__propertiesCreate or update a custom certificate.
deleteDELETEcertificateName, resourceGroupName, resourceName, subscriptionIdDelete a custom certificate.

SELECT examples

List all custom certificates.

SELECT
certificateName,
key_vault_base_uri,
key_vault_secret_name,
key_vault_secret_version,
provisioning_state,
resourceGroupName,
resourceName,
subscriptionId
FROM azure.signalr.vw_custom_certificates
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.signalr.custom_certificates (
certificateName,
resourceGroupName,
resourceName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ certificateName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified custom_certificates resource.

/*+ delete */
DELETE FROM azure.signalr.custom_certificates
WHERE certificateName = '{{ certificateName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';