connected_environments_certificates
Creates, updates, deletes, gets or lists a connected_environments_certificates
resource.
Overview
Name | connected_environments_certificates |
Type | Resource |
Id | azure.container_apps.connected_environments_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 | certificateName, connectedEnvironmentName, resourceGroupName, subscriptionId | |
list | SELECT | connectedEnvironmentName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | certificateName, connectedEnvironmentName, resourceGroupName, subscriptionId | |
delete | DELETE | certificateName, connectedEnvironmentName, resourceGroupName, subscriptionId | |
update | UPDATE | certificateName, connectedEnvironmentName, resourceGroupName, subscriptionId | Patches 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.connected_environments_certificates (
certificateName,
connectedEnvironmentName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ certificateName }}',
'{{ connectedEnvironmentName }}',
'{{ 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: certificateKeyVaultProperties
value:
- name: identity
value: string
- name: keyVaultUrl
value: string
- name: password
value: string
- name: subjectName
value: string
- name: subjectAlternativeNames
value:
- string
- name: value
value: string
- name: issuer
value: string
- name: issueDate
value: string
- name: expirationDate
value: string
- name: thumbprint
value: string
- name: valid
value: boolean
- name: publicKeyHash
value: string
- name: certificateType
value: string
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 }}';