managed_certificates
Creates, updates, deletes, gets or lists a managed_certificates
resource.
Overview
Name | managed_certificates |
Type | Resource |
Id | azure.container_apps.managed_certificates |
Fields
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Certificate resource specific properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | environmentName, managedCertificateName, resourceGroupName, subscriptionId | |
list | SELECT | environmentName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | environmentName, managedCertificateName, resourceGroupName, subscriptionId | |
delete | DELETE | environmentName, managedCertificateName, resourceGroupName, subscriptionId | |
update | UPDATE | environmentName, managedCertificateName, resourceGroupName, subscriptionId | Patches 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.managed_certificates (
environmentName,
managedCertificateName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ environmentName }}',
'{{ managedCertificateName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: string
- name: subjectName
value: string
- name: error
value: string
- name: domainControlValidation
value: string
- name: validationToken
value: string
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 }}';