Skip to main content

managed_certificates

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

Overview

Namemanaged_certificates
TypeResource
Idazure.container_apps.managed_certificates

Fields

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectCertificate resource specific properties
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTenvironmentName, managedCertificateName, resourceGroupName, subscriptionId
listSELECTenvironmentName, resourceGroupName, subscriptionId
create_or_updateINSERTenvironmentName, managedCertificateName, resourceGroupName, subscriptionId
deleteDELETEenvironmentName, managedCertificateName, resourceGroupName, subscriptionId
updateUPDATEenvironmentName, managedCertificateName, resourceGroupName, subscriptionIdPatches a managed certificate. Oly patching of tags is supported

SELECT examples

SELECT
location,
properties,
tags
FROM azure.container_apps.managed_certificates
WHERE environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.container_apps.managed_certificates (
environmentName,
managedCertificateName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ environmentName }}',
'{{ managedCertificateName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a managed_certificates resource.

/*+ update */
UPDATE azure.container_apps.managed_certificates
SET
tags = '{{ tags }}'
WHERE
environmentName = '{{ environmentName }}'
AND managedCertificateName = '{{ managedCertificateName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified managed_certificates resource.

/*+ delete */
DELETE FROM azure.container_apps.managed_certificates
WHERE environmentName = '{{ environmentName }}'
AND managedCertificateName = '{{ managedCertificateName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';