GraphQueryOperations interface

Interface representing a GraphQuery operations.

Properties

createOrUpdate

Create a new graph query.

delete

Delete a graph query.

get

Get a single graph query by its resourceName.

list

Get all graph queries defined within a specified subscription and resource group.

listBySubscription

Get all graph queries defined within a specified subscription.

update

Updates a graph query that has already been added.

Property Details

createOrUpdate

Create a new graph query.

createOrUpdate: (resourceGroupName: string, resourceName: string, properties: GraphQueryResource, options?: GraphQueryCreateOrUpdateOptionalParams) => Promise<GraphQueryResource>

Property Value

(resourceGroupName: string, resourceName: string, properties: GraphQueryResource, options?: GraphQueryCreateOrUpdateOptionalParams) => Promise<GraphQueryResource>

delete

Delete a graph query.

delete: (resourceGroupName: string, resourceName: string, options?: GraphQueryDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, resourceName: string, options?: GraphQueryDeleteOptionalParams) => Promise<void>

get

Get a single graph query by its resourceName.

get: (resourceGroupName: string, resourceName: string, options?: GraphQueryGetOptionalParams) => Promise<GraphQueryResource>

Property Value

(resourceGroupName: string, resourceName: string, options?: GraphQueryGetOptionalParams) => Promise<GraphQueryResource>

list

Get all graph queries defined within a specified subscription and resource group.

list: (resourceGroupName: string, options?: GraphQueryListOptionalParams) => PagedAsyncIterableIterator<GraphQueryResource, GraphQueryResource[], PageSettings>

Property Value

(resourceGroupName: string, options?: GraphQueryListOptionalParams) => PagedAsyncIterableIterator<GraphQueryResource, GraphQueryResource[], PageSettings>

listBySubscription

Get all graph queries defined within a specified subscription.

listBySubscription: (options?: GraphQueryListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<GraphQueryResource, GraphQueryResource[], PageSettings>

Property Value

(options?: GraphQueryListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<GraphQueryResource, GraphQueryResource[], PageSettings>

update

Updates a graph query that has already been added.

update: (resourceGroupName: string, resourceName: string, body: GraphQueryUpdateParameters, options?: GraphQueryUpdateOptionalParams) => Promise<GraphQueryResource>

Property Value

(resourceGroupName: string, resourceName: string, body: GraphQueryUpdateParameters, options?: GraphQueryUpdateOptionalParams) => Promise<GraphQueryResource>