Partager via


GraphQueries Interface

public interface GraphQueries

Resource collection API of GraphQueries.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new GraphQueryResource resource.

abstract void delete(String subscriptionId, String resourceGroupName, String resourceName)

Delete a graph query.

abstract void deleteById(String id)

Delete a graph query.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete a graph query.

abstract Response<Void> deleteWithResponse(String subscriptionId, String resourceGroupName, String resourceName, Context context)

Delete a graph query.

abstract GraphQueryResource getById(String id)

Get a single graph query by its resourceName.

abstract Response<GraphQueryResource> getByIdWithResponse(String id, Context context)

Get a single graph query by its resourceName.

abstract GraphQueryResource getByResourceGroup(String subscriptionId, String resourceGroupName, String resourceName)

Get a single graph query by its resourceName.

abstract Response<GraphQueryResource> getByResourceGroupWithResponse(String subscriptionId, String resourceGroupName, String resourceName, Context context)

Get a single graph query by its resourceName.

abstract PagedIterable<GraphQueryResource> list(String subscriptionId)

Get all graph queries defined within a specified subscription.

abstract PagedIterable<GraphQueryResource> list(String subscriptionId, Context context)

Get all graph queries defined within a specified subscription.

abstract PagedIterable<GraphQueryResource> listByResourceGroup(String subscriptionId, String resourceGroupName)

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

abstract PagedIterable<GraphQueryResource> listByResourceGroup(String subscriptionId, String resourceGroupName, Context context)

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

Method Details

define

public abstract GraphQueryResource.DefinitionStages.Blank define(String name)

Begins definition for a new GraphQueryResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new GraphQueryResource definition.

delete

public abstract void delete(String subscriptionId, String resourceGroupName, String resourceName)

Delete a graph query.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.

deleteById

public abstract void deleteById(String id)

Delete a graph query.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Delete a graph query.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response deleteWithResponse(String subscriptionId, String resourceGroupName, String resourceName, Context context)

Delete a graph query.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
context - The context to associate with this operation.

Returns:

getById

public abstract GraphQueryResource getById(String id)

Get a single graph query by its resourceName.

Parameters:

id - the resource ID.

Returns:

a single graph query by its resourceName along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Get a single graph query by its resourceName.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a single graph query by its resourceName along with Response<T>.

getByResourceGroup

public abstract GraphQueryResource getByResourceGroup(String subscriptionId, String resourceGroupName, String resourceName)

Get a single graph query by its resourceName.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.

Returns:

a single graph query by its resourceName.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String subscriptionId, String resourceGroupName, String resourceName, Context context)

Get a single graph query by its resourceName.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
context - The context to associate with this operation.

Returns:

a single graph query by its resourceName along with Response<T>.

list

public abstract PagedIterable list(String subscriptionId)

Get all graph queries defined within a specified subscription.

Parameters:

subscriptionId - The Azure subscription Id.

Returns:

all graph queries defined within a specified subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String subscriptionId, Context context)

Get all graph queries defined within a specified subscription.

Parameters:

subscriptionId - The Azure subscription Id.
context - The context to associate with this operation.

Returns:

all graph queries defined within a specified subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String subscriptionId, String resourceGroupName)

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

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.

Returns:

all graph queries defined within a specified subscription and resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String subscriptionId, String resourceGroupName, Context context)

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

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

all graph queries defined within a specified subscription and resource group as paginated response with PagedIterable<T>.

Applies to