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

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, environmentName, managedCertificateName
listselectsubscriptionId, resourceGroupName, environmentName
create_or_updateinsertsubscriptionId, resourceGroupName, environmentName, managedCertificateName
updateupdatesubscriptionId, resourceGroupName, environmentName, managedCertificateNamePatches a managed certificate. Oly patching of tags is supported
deletedeletesubscriptionId, resourceGroupName, environmentName, managedCertificateName

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
environmentNamestringName of the Managed Environment.
managedCertificateNamestringName of the Managed Certificate.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

OK

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

INSERT examples

No description available.

INSERT INTO azure.container_apps.managed_certificates (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
environmentName,
managedCertificateName
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ environmentName }}',
'{{ managedCertificateName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Patches a managed certificate. Oly patching of tags is supported

UPDATE azure.container_apps.managed_certificates
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND environmentName = '{{ environmentName }}' --required
AND managedCertificateName = '{{ managedCertificateName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

No description available.

DELETE FROM azure.container_apps.managed_certificates
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND environmentName = '{{ environmentName }}' --required
AND managedCertificateName = '{{ managedCertificateName }}' --required
;