共用方式為


GraphQueriesClient Interface

public interface GraphQueriesClient

An instance of this class provides access to all the operations defined in GraphQueriesClient.

Method Summary

Modifier and Type Method and Description
abstract GraphQueryResourceInner createOrUpdate(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryResourceInner properties)

Create a new graph query.

abstract Response<GraphQueryResourceInner> createOrUpdateWithResponse(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryResourceInner properties, Context context)

Create a new graph query.

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

Delete a graph query.

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

Delete a graph query.

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

Get a single graph query by its resourceName.

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

Get a single graph query by its resourceName.

abstract PagedIterable<GraphQueryResourceInner> list(String subscriptionId)

Get all graph queries defined within a specified subscription.

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

Get all graph queries defined within a specified subscription.

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

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

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

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

abstract GraphQueryResourceInner update(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryUpdateParameters body)

Updates a graph query that has already been added.

abstract Response<GraphQueryResourceInner> updateWithResponse(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryUpdateParameters body, Context context)

Updates a graph query that has already been added.

Method Details

createOrUpdate

public abstract GraphQueryResourceInner createOrUpdate(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryResourceInner properties)

Create a new graph query.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
properties - Properties that need to be specified to create a new graph query.

Returns:

graph Query entity definition.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryResourceInner properties, Context context)

Create a new graph query.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
properties - Properties that need to be specified to create a new graph query.
context - The context to associate with this operation.

Returns:

graph Query entity definition along with Response<T>.

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.

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:

getByResourceGroup

public abstract GraphQueryResourceInner 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>.

update

public abstract GraphQueryResourceInner update(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryUpdateParameters body)

Updates a graph query that has already been added.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
body - Properties that need to be specified to create a new graph query.

Returns:

graph Query entity definition.

updateWithResponse

public abstract Response updateWithResponse(String subscriptionId, String resourceGroupName, String resourceName, GraphQueryUpdateParameters body, Context context)

Updates a graph query that has already been added.

Parameters:

subscriptionId - The Azure subscription Id.
resourceGroupName - The name of the resource group.
resourceName - The name of the Graph Query resource.
body - Properties that need to be specified to create a new graph query.
context - The context to associate with this operation.

Returns:

graph Query entity definition along with Response<T>.

Applies to