Skip to main content

dot_net_components

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

Overview

Namedot_net_components
TypeResource
Idazure.container_apps.dot_net_components

Fields

NameDatatypeDescription
propertiesobject.NET Component resource specific properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTenvironmentName, name, resourceGroupName, subscriptionId
listSELECTenvironmentName, resourceGroupName, subscriptionId
create_or_updateINSERTenvironmentName, name, resourceGroupName, subscriptionIdCreates or updates a .NET Component in a Managed Environment.
deleteDELETEenvironmentName, name, resourceGroupName, subscriptionIdDelete a .NET Component.
updateUPDATEenvironmentName, name, resourceGroupName, subscriptionIdPatches 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.

/*+ create */
INSERT INTO azure.container_apps.dot_net_components (
environmentName,
name,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ environmentName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';