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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
enforcePrivateMarkdownStoragebooleanWhen flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited.
provisioningStatestringThe status of the last operation. Known values are: "Succeeded", "Failed", and "Canceled".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectconfiguration_nameGets the tenant configuration.
listselectGets list of the tenant configurations.
createinsertconfiguration_nameCreate the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.
deletedeleteconfiguration_nameDelete the tenant configuration. User has to be a Tenant Admin for this operation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configuration_namestringThe name of the Configuration. Required.

SELECT examples

Gets the tenant configuration.

SELECT
id,
name,
enforcePrivateMarkdownStorage,
provisioningState,
systemData,
type
FROM azure.portal.tenant_configurations
WHERE configuration_name = '{{ configuration_name }}' -- required
;

INSERT examples

Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.

INSERT INTO azure.portal.tenant_configurations (
properties,
configuration_name
)
SELECT
'{{ properties }}',
'{{ configuration_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Delete the tenant configuration. User has to be a Tenant Admin for this operation.

DELETE FROM azure.portal.tenant_configurations
WHERE configuration_name = '{{ configuration_name }}' --required
;