tenant_configurations
Creates, updates, deletes, gets or lists a tenant_configurations
resource.
Overview
Name | tenant_configurations |
Type | Resource |
Id | azure.portal.tenant_configurations |
Fields
- vw_tenant_configurations
- tenant_configurations
Name | Datatype | Description |
---|---|---|
configurationName | text | field from the properties object |
enforce_private_markdown_storage | text | field from the properties object |
provisioning_state | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Tenant Configuration Properties with Provisioning state |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationName | Gets the tenant configuration. |
list | SELECT |
| Gets list of the tenant configurations. |
create | INSERT | configurationName | Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation. |
delete | DELETE | configurationName | Delete the tenant configuration. User has to be a Tenant Admin for this operation. |
SELECT
examples
Gets list of the tenant configurations.
- vw_tenant_configurations
- tenant_configurations
SELECT
configurationName,
enforce_private_markdown_storage,
provisioning_state
FROM azure.portal.vw_tenant_configurations
;
SELECT
properties
FROM azure.portal.tenant_configurations
;
INSERT
example
Use the following StackQL query and manifest file to create a new tenant_configurations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.portal.tenant_configurations (
configurationName,
properties
)
SELECT
'{{ configurationName }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: enforcePrivateMarkdownStorage
value: boolean
- name: provisioningState
value: []
DELETE
example
Deletes the specified tenant_configurations
resource.
/*+ delete */
DELETE FROM azure.portal.tenant_configurations
WHERE configurationName = '{{ configurationName }}';