Skip to main content

tenant_configurations

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

Overview

Nametenant_configurations
TypeResource
Idazure.portal.tenant_configurations

Fields

NameDatatypeDescription
configurationNametextfield from the properties object
enforce_private_markdown_storagetextfield from the properties object
provisioning_statetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationNameGets the tenant configuration.
listSELECTGets list of the tenant configurations.
createINSERTconfigurationNameCreate the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.
deleteDELETEconfigurationNameDelete the tenant configuration. User has to be a Tenant Admin for this operation.

SELECT examples

Gets list of the tenant configurations.

SELECT
configurationName,
enforce_private_markdown_storage,
provisioning_state
FROM azure.portal.vw_tenant_configurations
;

INSERT example

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

/*+ create */
INSERT INTO azure.portal.tenant_configurations (
configurationName,
properties
)
SELECT
'{{ configurationName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified tenant_configurations resource.

/*+ delete */
DELETE FROM azure.portal.tenant_configurations
WHERE configurationName = '{{ configurationName }}';