dot_net_components
Creates, updates, deletes, gets or lists a dot_net_components
resource.
Overview
Name | dot_net_components |
Type | Resource |
Id | azure.container_apps.dot_net_components |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | .NET Component resource specific properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | environmentName, name, resourceGroupName, subscriptionId | |
list | SELECT | environmentName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | environmentName, name, resourceGroupName, subscriptionId | Creates or updates a .NET Component in a Managed Environment. |
delete | DELETE | environmentName, name, resourceGroupName, subscriptionId | Delete a .NET Component. |
update | UPDATE | environmentName, name, resourceGroupName, subscriptionId | Patches a .NET Component using JSON Merge Patch |
SELECT
examples
SELECT
properties
FROM azure.container_apps.dot_net_components
WHERE environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dot_net_components
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.dot_net_components (
environmentName,
name,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ environmentName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: componentType
value: string
- name: provisioningState
value: string
- name: configurations
value:
- - name: propertyName
value: string
- name: value
value: string
- name: serviceBinds
value:
- - name: name
value: string
- name: serviceId
value: string
UPDATE
example
Updates a dot_net_components
resource.
/*+ update */
UPDATE azure.container_apps.dot_net_components
SET
properties = '{{ properties }}'
WHERE
environmentName = '{{ environmentName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified dot_net_components
resource.
/*+ delete */
DELETE FROM azure.container_apps.dot_net_components
WHERE environmentName = '{{ environmentName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';