connected_environments
Creates, updates, deletes, gets or lists a connected_environments
resource.
Overview
Name | connected_environments |
Type | Resource |
Id | azure.container_apps.connected_environments |
Fields
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The complex type of the extended location. |
location | string | The geo-location where the resource lives |
properties | object | ConnectedEnvironment resource specific properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | connectedEnvironmentName, resourceGroupName, subscriptionId | Get the properties of an connectedEnvironment. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Get all connectedEnvironments in a resource group. |
list_by_subscription | SELECT | subscriptionId | Get all connectedEnvironments for a subscription. |
create_or_update | INSERT | connectedEnvironmentName, resourceGroupName, subscriptionId | Creates or updates an connectedEnvironment. |
delete | DELETE | connectedEnvironmentName, resourceGroupName, subscriptionId | Delete an connectedEnvironment. |
update | UPDATE | connectedEnvironmentName, resourceGroupName, subscriptionId | Patches a Managed Environment. Only patching of tags is supported currently |
check_name_availability | EXEC | connectedEnvironmentName, resourceGroupName, subscriptionId | Checks if resource connectedEnvironmentName is available. |
SELECT
examples
Get all connectedEnvironments for a subscription.
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.container_apps.connected_environments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new connected_environments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.connected_environments (
connectedEnvironmentName,
resourceGroupName,
subscriptionId,
tags,
location,
extendedLocation,
properties
)
SELECT
'{{ connectedEnvironmentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ extendedLocation }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
- name: properties
value:
- name: provisioningState
value: string
- name: deploymentErrors
value: string
- name: defaultDomain
value: string
- name: staticIp
value: string
- name: daprAIConnectionString
value: string
- name: customDomainConfiguration
value:
- name: customDomainVerificationId
value: string
- name: dnsSuffix
value: string
- name: certificateKeyVaultProperties
value:
- name: identity
value: string
- name: keyVaultUrl
value: string
- name: certificateValue
value: string
- name: certificatePassword
value: string
- name: expirationDate
value: string
- name: thumbprint
value: string
- name: subjectName
value: string
UPDATE
example
Updates a connected_environments
resource.
/*+ update */
UPDATE azure.container_apps.connected_environments
SET
WHERE
connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified connected_environments
resource.
/*+ delete */
DELETE FROM azure.container_apps.connected_environments
WHERE connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';