Aracılığıyla paylaş


BookmarkRelations Interface

public interface BookmarkRelations

Resource collection API of BookmarkRelations.

Method Summary

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

Begins definition for a new Relation resource.

abstract void delete(String resourceGroupName, String workspaceName, String bookmarkId, String relationName)

Delete the bookmark relation.

abstract void deleteById(String id)

Delete the bookmark relation.

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

Delete the bookmark relation.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, String relationName, Context context)

Delete the bookmark relation.

abstract Relation get(String resourceGroupName, String workspaceName, String bookmarkId, String relationName)

Gets a bookmark relation.

abstract Relation getById(String id)

Gets a bookmark relation.

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

Gets a bookmark relation.

abstract Response<Relation> getWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, String relationName, Context context)

Gets a bookmark relation.

abstract PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String bookmarkId)

Gets all bookmark relations.

abstract PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String bookmarkId, String filter, String orderby, Integer top, String skipToken, Context context)

Gets all bookmark relations.

Method Details

define

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

Begins definition for a new Relation resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Relation definition.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String bookmarkId, String relationName)

Delete the bookmark relation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.
relationName - Relation Name.

deleteById

public abstract void deleteById(String id)

Delete the bookmark relation.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Delete the bookmark relation.

Parameters:

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

Returns:

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, String relationName, Context context)

Delete the bookmark relation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.
relationName - Relation Name.
context - The context to associate with this operation.

Returns:

get

public abstract Relation get(String resourceGroupName, String workspaceName, String bookmarkId, String relationName)

Gets a bookmark relation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.
relationName - Relation Name.

Returns:

a bookmark relation.

getById

public abstract Relation getById(String id)

Gets a bookmark relation.

Parameters:

id - the resource ID.

Returns:

a bookmark relation along with Response<T>.

getByIdWithResponse

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

Gets a bookmark relation.

Parameters:

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

Returns:

a bookmark relation along with Response<T>.

getWithResponse

public abstract Response<Relation> getWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, String relationName, Context context)

Gets a bookmark relation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.
relationName - Relation Name.
context - The context to associate with this operation.

Returns:

a bookmark relation along with Response<T>.

list

public abstract PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String bookmarkId)

Gets all bookmark relations.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.

Returns:

all bookmark relations as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String bookmarkId, String filter, String orderby, Integer top, String skipToken, Context context)

Gets all bookmark relations.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
bookmarkId - Bookmark ID.
filter - Filters the results, based on a Boolean condition. Optional.
orderby - Sorts the results. Optional.
top - Returns only the first n results. Optional.
skipToken - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.
context - The context to associate with this operation.

Returns:

all bookmark relations as paginated response with PagedIterable<T>.

Applies to