enterprise_knowledge_graphs
Creates, updates, deletes, gets or lists a enterprise_knowledge_graphs
resource.
Overview
Name | enterprise_knowledge_graphs |
Type | Resource |
Id | azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs |
Fields
- vw_enterprise_knowledge_graphs
- enterprise_knowledge_graphs
Name | Datatype | Description |
---|---|---|
id | text | Specifies the resource ID. |
name | text | Specifies the name of the resource. |
description | text | field from the properties object |
location | text | Specifies the location of the resource. |
metadata | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
sku | text | The SKU of the EnterpriseKnowledgeGraph service account. |
subscriptionId | text | field from the properties object |
tags | text | Contains resource tags defined as key/value pairs. |
type | text | Specifies the type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | Specifies the resource ID. |
name | string | Specifies the name of the resource. |
location | string | Specifies the location of the resource. |
properties | object | The parameters to provide for the EnterpriseKnowledgeGraph. |
sku | object | The SKU of the EnterpriseKnowledgeGraph service account. |
tags | object | Contains resource tags defined as key/value pairs. |
type | string | Specifies the type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId | Returns a EnterpriseKnowledgeGraph service specified by the parameters. |
list | SELECT | subscriptionId | Returns all the resources of a particular type belonging to a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Returns all the resources of a particular type belonging to a resource group |
create | INSERT | resourceGroupName, resourceName, subscriptionId | Creates a EnterpriseKnowledgeGraph Service. EnterpriseKnowledgeGraph Service is a resource group wide resource type. |
delete | DELETE | resourceGroupName, resourceName, subscriptionId | Deletes a EnterpriseKnowledgeGraph Service from the resource group. |
update | UPDATE | resourceGroupName, resourceName, subscriptionId | Updates a EnterpriseKnowledgeGraph Service |
SELECT
examples
Returns all the resources of a particular type belonging to a subscription.
- vw_enterprise_knowledge_graphs
- enterprise_knowledge_graphs
SELECT
id,
name,
description,
location,
metadata,
provisioning_state,
resourceGroupName,
resourceName,
sku,
subscriptionId,
tags,
type
FROM azure_extras.enterprise_knowledge_graph.vw_enterprise_knowledge_graphs
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new enterprise_knowledge_graphs
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs (
resourceGroupName,
resourceName,
subscriptionId,
location,
tags,
sku,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ sku }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: sku
value:
- name: name
value: []
- name: properties
value:
- name: description
value: string
- name: metadata
value: object
- name: provisioningState
value: string
UPDATE
example
Updates a enterprise_knowledge_graphs
resource.
/*+ update */
UPDATE azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
SET
location = '{{ location }}',
tags = '{{ tags }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified enterprise_knowledge_graphs
resource.
/*+ delete */
DELETE FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';