Skip to main content

auth_configs

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

Overview

Nameauth_configs
TypeResource
Idazure.container_apps.auth_configs

Fields

NameDatatypeDescription
propertiesobjectAuthConfig resource specific properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthConfigName, containerAppName, resourceGroupName, subscriptionId
list_by_container_appSELECTcontainerAppName, resourceGroupName, subscriptionId
create_or_updateINSERTauthConfigName, containerAppName, resourceGroupName, subscriptionIdCreate or update the AuthConfig for a Container App.
deleteDELETEauthConfigName, containerAppName, resourceGroupName, subscriptionIdDelete a Container App AuthConfig.

SELECT examples

SELECT
properties
FROM azure.container_apps.auth_configs
WHERE containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new auth_configs resource.

/*+ create */
INSERT INTO azure.container_apps.auth_configs (
authConfigName,
containerAppName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ authConfigName }}',
'{{ containerAppName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified auth_configs resource.

/*+ delete */
DELETE FROM azure.container_apps.auth_configs
WHERE authConfigName = '{{ authConfigName }}'
AND containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';