Aracılığıyla paylaş


BookmarksClient Interface

public interface BookmarksClient

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

Method Summary

Modifier and Type Method and Description
abstract BookmarkInner createOrUpdate(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark)

Creates or updates the bookmark.

abstract Response<BookmarkInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark, Context context)

Creates or updates the bookmark.

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

Delete the bookmark.

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

Delete the bookmark.

abstract BookmarkInner get(String resourceGroupName, String workspaceName, String bookmarkId)

Gets a bookmark.

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

Gets a bookmark.

abstract PagedIterable<BookmarkInner> list(String resourceGroupName, String workspaceName)

Gets all bookmarks.

abstract PagedIterable<BookmarkInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all bookmarks.

Method Details

createOrUpdate

public abstract BookmarkInner createOrUpdate(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark)

Creates or updates the bookmark.

Parameters:

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

Returns:

represents a bookmark in Azure Security Insights.

createOrUpdateWithResponse

public abstract Response<BookmarkInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark, Context context)

Creates or updates the bookmark.

Parameters:

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

Returns:

represents a bookmark in Azure Security Insights along with Response<T>.

delete

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

Delete the bookmark.

Parameters:

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

deleteWithResponse

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

Delete the bookmark.

Parameters:

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

Returns:

get

public abstract BookmarkInner get(String resourceGroupName, String workspaceName, String bookmarkId)

Gets a bookmark.

Parameters:

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

Returns:

a bookmark.

getWithResponse

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

Gets a bookmark.

Parameters:

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

Returns:

a bookmark along with Response<T>.

list

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

Gets all bookmarks.

Parameters:

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

Returns:

all bookmarks as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<BookmarkInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all bookmarks.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

Returns:

all bookmarks as paginated response with PagedIterable<T>.

Applies to