@datafire/azure_resourcegraph_graphquery
v3.0.0
Published
DataFire integration for Azure Resource Graph Query
Downloads
51
Readme
@datafire/azure_resourcegraph_graphquery
Client library for Azure Resource Graph Query
Installation and Usage
npm install --save @datafire/azure_resourcegraph_graphquerylet azure_resourcegraph_graphquery = require('@datafire/azure_resourcegraph_graphquery').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});Description
Azure Resource Graph Query API Reference
Actions
GraphQuery_List
Get all graph queries defined within a specified subscription and resource group.
azure_resourcegraph_graphquery.GraphQuery_List({
"subscriptionId": "",
"resourceGroupName": "",
"api-version": ""
}, context)Input
- input
object- subscriptionId required
string: The Azure subscription Id. - resourceGroupName required
string: The name of the resource group. - api-version required
string: Client Api Version.
- subscriptionId required
Output
- output GraphQueryListResult
GraphQuery_Delete
Delete a graph query.
azure_resourcegraph_graphquery.GraphQuery_Delete({
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"api-version": ""
}, context)Input
- input
object- subscriptionId required
string: The Azure subscription Id. - resourceGroupName required
string: The name of the resource group. - resourceName required
string: The name of the Graph Query resource. - api-version required
string: Client Api Version.
- subscriptionId required
Output
Output schema unknown
GraphQuery_Get
Get a single graph query by its resourceName.
azure_resourcegraph_graphquery.GraphQuery_Get({
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"api-version": ""
}, context)Input
- input
object- subscriptionId required
string: The Azure subscription Id. - resourceGroupName required
string: The name of the resource group. - resourceName required
string: The name of the Graph Query resource. - api-version required
string: Client Api Version.
- subscriptionId required
Output
- output GraphQueryResource
GraphQuery_Update
Updates a graph query that has already been added.
azure_resourcegraph_graphquery.GraphQuery_Update({
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"api-version": "",
"body": null
}, context)Input
- input
object- subscriptionId required
string: The Azure subscription Id. - resourceGroupName required
string: The name of the resource group. - resourceName required
string: The name of the Graph Query resource. - api-version required
string: Client Api Version. - body required GraphQueryUpdateParameters
- subscriptionId required
Output
- output GraphQueryResource
GraphQuery_CreateOrUpdate
Create a new graph query.
azure_resourcegraph_graphquery.GraphQuery_CreateOrUpdate({
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"api-version": "",
"properties": null
}, context)Input
- input
object- subscriptionId required
string: The Azure subscription Id. - resourceGroupName required
string: The name of the resource group. - resourceName required
string: The name of the Graph Query resource. - api-version required
string: Client Api Version. - properties required GraphQueryResource
- subscriptionId required
Output
- output GraphQueryResource
Definitions
ErrorFieldContract
- ErrorFieldContract
object: Error Field contract.- code
string: Property level error code. - message
string: Human-readable representation of property-level error. - target
string: Property name.
- code
GraphQueryError
- GraphQueryError
object: Error message body that will indicate why the operation failed.- code
string: Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. - details
array: The list of invalid fields send in request, in case of validation error.- items ErrorFieldContract
- message
string: Human-readable representation of the error.
- code
GraphQueryListResult
- GraphQueryListResult
object: Graph query list result.- nextLink
string: URL to fetch the next set of queries. - value
array: An array of graph queries.- items GraphQueryResource
- nextLink
GraphQueryProperties
- GraphQueryProperties
object: Properties that contain a graph query.- description
string: The description of a graph query. - query required
string: KQL query that will be graph. - resultKind
string(values: basic): Enum indicating a type of graph query. - timeModified
string: Date and time in UTC of the last modification that was made to this graph query definition.
- description
GraphQueryPropertiesUpdateParameters
- GraphQueryPropertiesUpdateParameters
object: Properties that contain a workbook for PATCH operation.- description
string: The description of a graph query. - query
string: KQL query that will be graph.
- description
GraphQueryResource
- GraphQueryResource
object: Graph Query entity definition.- properties GraphQueryProperties
- eTag
string: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. - id
string: Azure resource Id - name
string: Azure resource name. This is GUID value. The display name should be assigned within properties field. - tags
object: Resource tags - type
string: Azure resource type
GraphQueryUpdateParameters
- GraphQueryUpdateParameters
object: The parameters that can be provided when updating workbook properties properties.- eTag
string: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. - properties GraphQueryPropertiesUpdateParameters
- tags
object: Resource tags
- eTag
Resource
- Resource
object: An azure resource object- eTag
string: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. - id
string: Azure resource Id - name
string: Azure resource name. This is GUID value. The display name should be assigned within properties field. - tags
object: Resource tags - type
string: Azure resource type
- eTag
