enterprise_knowledge_graphs
Creates, updates, deletes, gets or lists an enterprise_knowledge_graphs
resource.
Overview
Name | enterprise_knowledge_graphs |
Type | Resource |
Id | azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
The resource provider should return 200 (OK) to indicate that the operation completed successfully.
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 set of properties specific to EnterpriseKnowledgeGraph resource |
sku | object | Gets or sets the SKU of the resource. |
tags | object | Contains resource tags defined as key/value pairs. |
type | string | Specifies the type of the resource. |
The resource provider should return 200 (OK) to indicate that the operation completed successfully. For other errors (e.g. internal errors) use the appropriate HTTP error code.
The nextLink field is expected to point to the URL the client should use to fetch the next page (per server side paging). This matches the OData guidelines for paged responses here. If a resource provider does not support paging, it should return the same body (JSON object with “value” property) but omit nextLink entirely (or set to null, not empty string) for future compatibility.
The nextLink should be implemented using following query parameters:
· skipToken: opaque token that allows the resource provider to skip resources already enumerated. This value is defined and returned by the RP after first request via nextLink.
· top: the optional client query parameter which defines the maximum number of records to be returned by the server.
Implementation details:
· NextLink may include all the query parameters (specifically OData $filter) used by the client in the first query.
· Server may return less records than requested with nextLink. Returning zero records with NextLink is an acceptable response.
Clients must fetch records until the nextLink is not returned back / null. Clients should never rely on number of returned records to determinate if pagination is completed.
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 set of properties specific to EnterpriseKnowledgeGraph resource |
sku | object | Gets or sets the SKU of the resource. |
tags | object | Contains resource tags defined as key/value pairs. |
type | string | Specifies the type of the resource. |
The resource provider should return 200 (OK) to indicate that the operation completed successfully. For other errors (e.g. internal errors) use the appropriate HTTP error code.
The nextLink field is expected to point to the URL the client should use to fetch the next page (per server side paging). This matches the OData guidelines for paged responses. If a resource provider does not support paging, it should return the same body but leave nextLink empty for future compatibility.
For a detailed explanation of each field in the response body, please refer to the request body description in the PUT resource section.
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 set of properties specific to EnterpriseKnowledgeGraph resource |
sku | object | Gets or sets the SKU of the resource. |
tags | object | Contains resource tags defined as key/value pairs. |
type | string | Specifies the type of the resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , resourceName , subscriptionId | Returns a EnterpriseKnowledgeGraph service specified by the parameters. | |
list_by_resource_group | select | resourceGroupName , subscriptionId | Returns all the resources of a particular type belonging to a resource group | |
list | select | subscriptionId | Returns all the resources of a particular type belonging to a subscription. | |
create | insert | resourceGroupName , resourceName , subscriptionId | Creates a EnterpriseKnowledgeGraph Service. EnterpriseKnowledgeGraph Service is a resource group wide resource type. | |
update | update | resourceGroupName , resourceName , subscriptionId | Updates a EnterpriseKnowledgeGraph Service | |
delete | delete | resourceGroupName , resourceName , subscriptionId | Deletes a EnterpriseKnowledgeGraph Service from the resource group. |
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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the EnterpriseKnowledgeGraph resource group in the user subscription. |
resourceName | string | The name of the EnterpriseKnowledgeGraph resource. |
subscriptionId | string | Azure Subscription ID. |
SELECT
examples
- get
- list_by_resource_group
- list
Returns a EnterpriseKnowledgeGraph service specified by the parameters.
SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Returns all the resources of a particular type belonging to a resource group
SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Returns all the resources of a particular type belonging to a subscription.
SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Creates a EnterpriseKnowledgeGraph Service. EnterpriseKnowledgeGraph Service is a resource group wide resource type.
INSERT INTO azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs (
data__location,
data__tags,
data__sku,
data__properties,
resourceGroupName,
resourceName,
subscriptionId
)
SELECT
'{{ location }}',
'{{ tags }}',
'{{ sku }}',
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
location,
properties,
sku,
tags,
type
;
# Description fields are for documentation purposes
- name: enterprise_knowledge_graphs
props:
- name: resourceGroupName
value: string
description: Required parameter for the enterprise_knowledge_graphs resource.
- name: resourceName
value: string
description: Required parameter for the enterprise_knowledge_graphs resource.
- name: subscriptionId
value: string
description: Required parameter for the enterprise_knowledge_graphs resource.
- name: location
value: string
description: |
Specifies the location of the resource.
- name: tags
value: object
description: |
Contains resource tags defined as key/value pairs.
- name: sku
value: object
description: |
Gets or sets the SKU of the resource.
- name: properties
value: object
description: |
The set of properties specific to EnterpriseKnowledgeGraph resource
UPDATE
examples
- update
Updates a EnterpriseKnowledgeGraph Service
UPDATE azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
SET
data__location = '{{ location }}',
data__tags = '{{ tags }}',
data__sku = '{{ sku }}',
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND resourceName = '{{ resourceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
location,
properties,
sku,
tags,
type;
DELETE
examples
- delete
Deletes a EnterpriseKnowledgeGraph Service from the resource group.
DELETE FROM azure_extras.enterprise_knowledge_graph.enterprise_knowledge_graphs
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND resourceName = '{{ resourceName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;