Skip to main content

connected_environments_certificates

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

Overview

Nameconnected_environments_certificates
TypeResource
Idazure.container_apps.connected_environments_certificates

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTcertificateName, connectedEnvironmentName, resourceGroupName, subscriptionId
listSELECTconnectedEnvironmentName, resourceGroupName, subscriptionId
create_or_updateINSERTcertificateName, connectedEnvironmentName, resourceGroupName, subscriptionId
deleteDELETEcertificateName, connectedEnvironmentName, resourceGroupName, subscriptionId
updateUPDATEcertificateName, connectedEnvironmentName, resourceGroupName, subscriptionIdPatches a certificate. Currently only patching of tags is supported

SELECT examples

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

INSERT example

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

/*+ create */
INSERT INTO azure.container_apps.connected_environments_certificates (
certificateName,
connectedEnvironmentName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ certificateName }}',
'{{ connectedEnvironmentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a connected_environments_certificates resource.

/*+ update */
UPDATE azure.container_apps.connected_environments_certificates
SET
tags = '{{ tags }}'
WHERE
certificateName = '{{ certificateName }}'
AND connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified connected_environments_certificates resource.

/*+ delete */
DELETE FROM azure.container_apps.connected_environments_certificates
WHERE certificateName = '{{ certificateName }}'
AND connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';