Interface BookmarksClient
-
public interface BookmarksClient
An instance of this class provides access to all the operations defined in BookmarksClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BookmarkInner
createOrUpdate(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark)
Creates or updates the bookmark.com.azure.core.http.rest.Response<BookmarkInner>
createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark, com.azure.core.util.Context context)
Creates or updates the bookmark.void
delete(String resourceGroupName, String workspaceName, String bookmarkId)
Delete the bookmark.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, com.azure.core.util.Context context)
Delete the bookmark.BookmarkInner
get(String resourceGroupName, String workspaceName, String bookmarkId)
Gets a bookmark.com.azure.core.http.rest.Response<BookmarkInner>
getWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, com.azure.core.util.Context context)
Gets a bookmark.com.azure.core.http.rest.PagedIterable<BookmarkInner>
list(String resourceGroupName, String workspaceName)
Gets all bookmarks.com.azure.core.http.rest.PagedIterable<BookmarkInner>
list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Gets all bookmarks.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<BookmarkInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<BookmarkInner> getWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<BookmarkInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, BookmarkInner bookmark, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String bookmarkId, com.azure.core.util.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:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-