次の方法で共有


BookmarksOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityInsights's

<xref:bookmarks> attribute.

Constructor

BookmarksOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates the bookmark.

delete

Delete the bookmark.

get

Gets a bookmark.

list

Gets all bookmarks.

create_or_update

Creates or updates the bookmark.

create_or_update(resource_group_name: str, workspace_name: str, bookmark_id: str, bookmark: Bookmark, **kwargs: Any) -> Bookmark

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive.

workspace_name
Required
str

The name of the workspace.

bookmark_id
Required
str

Bookmark ID.

bookmark
Required

The bookmark.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

Bookmark, or the result of cls(response)

Exceptions

Type Description

delete

Delete the bookmark.

delete(resource_group_name: str, workspace_name: str, bookmark_id: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive.

workspace_name
Required
str

The name of the workspace.

bookmark_id
Required
str

Bookmark ID.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None, or the result of cls(response)

Exceptions

Type Description

get

Gets a bookmark.

get(resource_group_name: str, workspace_name: str, bookmark_id: str, **kwargs: Any) -> Bookmark

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive.

workspace_name
Required
str

The name of the workspace.

bookmark_id
Required
str

Bookmark ID.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

Bookmark, or the result of cls(response)

Exceptions

Type Description

list

Gets all bookmarks.

list(resource_group_name: str, workspace_name: str, **kwargs: Any) -> Iterable[BookmarkList]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive.

workspace_name
Required
str

The name of the workspace.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either BookmarkList or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.securityinsight.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv214\\Lib\\site-packages\\azure\\mgmt\\securityinsight\\models\\__init__.py'>