Partager via


GraphQueryResource Interface

public interface GraphQueryResource

An immutable client-side representation of GraphQueryResource.

Method Summary

Modifier and Type Method and Description
abstract String description()

Gets the description property: The description of a graph query.

abstract String etag()

Gets the etag property: This will be used to handle Optimistic Concurrency.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract GraphQueryResourceInner innerModel()

Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.GraphQueryResourceInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract String query()

Gets the query property: KQL query that will be graph.

abstract GraphQueryResource refresh()

Refreshes the resource to sync with Azure.

abstract GraphQueryResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract ResultKind resultKind()

Gets the resultKind property: Enum indicating a type of graph query.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract OffsetDateTime timeModified()

Gets the timeModified property: Date and time in UTC of the last modification that was made to this graph query definition.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the GraphQueryResource resource.

Method Details

description

public abstract String description()

Gets the description property: The description of a graph query.

Returns:

the description value.

etag

public abstract String etag()

Gets the etag property: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract GraphQueryResourceInner innerModel()

Gets the inner com.azure.resourcemanager.resourcegraph.fluent.models.GraphQueryResourceInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

query

public abstract String query()

Gets the query property: KQL query that will be graph.

Returns:

the query value.

refresh

public abstract GraphQueryResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract GraphQueryResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

resultKind

public abstract ResultKind resultKind()

Gets the resultKind property: Enum indicating a type of graph query.

Returns:

the resultKind value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

timeModified

public abstract OffsetDateTime timeModified()

Gets the timeModified property: Date and time in UTC of the last modification that was made to this graph query definition.

Returns:

the timeModified value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract GraphQueryResource.Update update()

Begins update for the GraphQueryResource resource.

Returns:

the stage of resource update.

Applies to