Share via


EasmClient Class

Definition

The Easm service client.

public class EasmClient
type EasmClient = class
Public Class EasmClient
Inheritance
EasmClient

Constructors

EasmClient()

Initializes a new instance of EasmClient for mocking.

EasmClient(Uri, TokenCredential)

Initializes a new instance of EasmClient.

EasmClient(Uri, TokenCredential, EasmClientOptions)

Initializes a new instance of EasmClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

CancelTask(String, CancellationToken)

Cancel a task by taskId.

CancelTask(String, RequestContext)

[Protocol Method] Cancel a task by taskId.

CancelTaskAsync(String, CancellationToken)

Cancel a task by taskId.

CancelTaskAsync(String, RequestContext)

[Protocol Method] Cancel a task by taskId.

CreateOrReplaceDataConnection(String, DataConnectionPayload, CancellationToken)

Create or replace a data connection with a given dataConnectionName.

CreateOrReplaceDataConnection(String, RequestContent, RequestContext)

[Protocol Method] Create or replace a data connection with a given dataConnectionName.

CreateOrReplaceDataConnectionAsync(String, DataConnectionPayload, CancellationToken)

Create or replace a data connection with a given dataConnectionName.

CreateOrReplaceDataConnectionAsync(String, RequestContent, RequestContext)

[Protocol Method] Create or replace a data connection with a given dataConnectionName.

CreateOrReplaceDiscoveryGroup(String, DiscoveryGroupPayload, CancellationToken)

Create a discovery group with a given groupName.

CreateOrReplaceDiscoveryGroup(String, RequestContent, RequestContext)

[Protocol Method] Create a discovery group with a given groupName.

CreateOrReplaceDiscoveryGroupAsync(String, DiscoveryGroupPayload, CancellationToken)

Create a discovery group with a given groupName.

CreateOrReplaceDiscoveryGroupAsync(String, RequestContent, RequestContext)

[Protocol Method] Create a discovery group with a given groupName.

CreateOrReplaceSavedFilter(String, RequestContent, RequestContext)

[Protocol Method] Create or replace a saved filter with a given filterName.

CreateOrReplaceSavedFilter(String, SavedFilterPayload, CancellationToken)

Create or replace a saved filter with a given filterName.

CreateOrReplaceSavedFilterAsync(String, RequestContent, RequestContext)

[Protocol Method] Create or replace a saved filter with a given filterName.

CreateOrReplaceSavedFilterAsync(String, SavedFilterPayload, CancellationToken)

Create or replace a saved filter with a given filterName.

DeleteDataConnection(String, RequestContext)

[Protocol Method] Delete a data connection with a given dataConnectionName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteDataConnectionAsync(String, RequestContext)

[Protocol Method] Delete a data connection with a given dataConnectionName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteSavedFilter(String, RequestContext)

[Protocol Method] Delete a saved filter with a given filterName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteSavedFilterAsync(String, RequestContext)

[Protocol Method] Delete a saved filter with a given filterName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetAssetResource(String, CancellationToken)

Retrieve an asset by assetId.

GetAssetResource(String, RequestContext)

[Protocol Method] Retrieve an asset by assetId.

GetAssetResourceAsync(String, CancellationToken)

Retrieve an asset by assetId.

GetAssetResourceAsync(String, RequestContext)

[Protocol Method] Retrieve an asset by assetId.

GetAssetResources(String, String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)

Retrieve a list of assets for the provided search parameters.

GetAssetResources(String, String, Nullable<Int32>, Nullable<Int32>, String, RequestContext)

[Protocol Method] Retrieve a list of assets for the provided search parameters.

GetAssetResourcesAsync(String, String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)

Retrieve a list of assets for the provided search parameters.

GetAssetResourcesAsync(String, String, Nullable<Int32>, Nullable<Int32>, String, RequestContext)

[Protocol Method] Retrieve a list of assets for the provided search parameters.

GetBillable(CancellationToken)

Get billable assets summary for the workspace.

GetBillable(RequestContext)

[Protocol Method] Get billable assets summary for the workspace.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
  • Please try the simpler GetBillable(CancellationToken) convenience overload with strongly typed models first.
GetBillableAsync(CancellationToken)

Get billable assets summary for the workspace.

GetBillableAsync(RequestContext)

[Protocol Method] Get billable assets summary for the workspace.

GetDataConnection(String, CancellationToken)

Retrieve a data connection with a given dataConnectionName.

GetDataConnection(String, RequestContext)

[Protocol Method] Retrieve a data connection with a given dataConnectionName.

GetDataConnectionAsync(String, CancellationToken)

Retrieve a data connection with a given dataConnectionName.

GetDataConnectionAsync(String, RequestContext)

[Protocol Method] Retrieve a data connection with a given dataConnectionName.

GetDataConnections(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of data connections.

GetDataConnections(Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of data connections.

GetDataConnectionsAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of data connections.

GetDataConnectionsAsync(Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of data connections.

GetDiscoveryGroup(String, CancellationToken)

Retrieve a discovery group with a given groupName.

GetDiscoveryGroup(String, RequestContext)

[Protocol Method] Retrieve a discovery group with a given groupName.

GetDiscoveryGroupAsync(String, CancellationToken)

Retrieve a discovery group with a given groupName.

GetDiscoveryGroupAsync(String, RequestContext)

[Protocol Method] Retrieve a discovery group with a given groupName.

GetDiscoveryGroupRuns(String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a collection of discovery run results for a discovery group with a given groupName.

GetDiscoveryGroupRuns(String, String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a collection of discovery run results for a discovery group with a given groupName.

GetDiscoveryGroupRunsAsync(String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a collection of discovery run results for a discovery group with a given groupName.

GetDiscoveryGroupRunsAsync(String, String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a collection of discovery run results for a discovery group with a given groupName.

GetDiscoveryGroups(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of discovery group for the provided search parameters.

GetDiscoveryGroups(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of discovery group for the provided search parameters.

GetDiscoveryGroupsAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of discovery group for the provided search parameters.

GetDiscoveryGroupsAsync(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of discovery group for the provided search parameters.

GetDiscoveryTemplate(String, CancellationToken)

Retrieve a disco template with a given templateId.

GetDiscoveryTemplate(String, RequestContext)

[Protocol Method] Retrieve a disco template with a given templateId.

GetDiscoveryTemplateAsync(String, CancellationToken)

Retrieve a disco template with a given templateId.

GetDiscoveryTemplateAsync(String, RequestContext)

[Protocol Method] Retrieve a disco template with a given templateId.

GetDiscoveryTemplates(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of disco templates for the provided search parameters.

GetDiscoveryTemplates(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of disco templates for the provided search parameters.

GetDiscoveryTemplatesAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of disco templates for the provided search parameters.

GetDiscoveryTemplatesAsync(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of disco templates for the provided search parameters.

GetSavedFilter(String, CancellationToken)

Retrieve a saved filter by filterName.

GetSavedFilter(String, RequestContext)

[Protocol Method] Retrieve a saved filter by filterName.

GetSavedFilterAsync(String, CancellationToken)

Retrieve a saved filter by filterName.

GetSavedFilterAsync(String, RequestContext)

[Protocol Method] Retrieve a saved filter by filterName.

GetSavedFilters(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of saved filters for the provided search parameters.

GetSavedFilters(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of saved filters for the provided search parameters.

GetSavedFiltersAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of saved filters for the provided search parameters.

GetSavedFiltersAsync(String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of saved filters for the provided search parameters.

GetSnapshot(ReportAssetSnapshotPayload, CancellationToken)

Get the most recent snapshot of asset summary values for the snapshot request.

GetSnapshot(RequestContent, RequestContext)

[Protocol Method] Get the most recent snapshot of asset summary values for the snapshot request.

GetSnapshotAsync(ReportAssetSnapshotPayload, CancellationToken)

Get the most recent snapshot of asset summary values for the snapshot request.

GetSnapshotAsync(RequestContent, RequestContext)

[Protocol Method] Get the most recent snapshot of asset summary values for the snapshot request.

GetSummary(ReportAssetSummaryPayload, CancellationToken)

Get asset summary details for the summary request.

GetSummary(RequestContent, RequestContext)

[Protocol Method] Get asset summary details for the summary request.

GetSummaryAsync(ReportAssetSummaryPayload, CancellationToken)

Get asset summary details for the summary request.

GetSummaryAsync(RequestContent, RequestContext)

[Protocol Method] Get asset summary details for the summary request.

GetTask(String, CancellationToken)

Retrieve a task by taskId.

GetTask(String, RequestContext)

[Protocol Method] Retrieve a task by taskId.

GetTaskAsync(String, CancellationToken)

Retrieve a task by taskId.

GetTaskAsync(String, RequestContext)

[Protocol Method] Retrieve a task by taskId.

GetTasks(String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of tasks for the provided search parameters.

GetTasks(String, String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of tasks for the provided search parameters.

GetTasksAsync(String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Retrieve a list of tasks for the provided search parameters.

GetTasksAsync(String, String, Nullable<Int32>, Nullable<Int32>, RequestContext)

[Protocol Method] Retrieve a list of tasks for the provided search parameters.

RunDiscoveryGroup(String, RequestContext)

[Protocol Method] Run a discovery group with a given groupName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
RunDiscoveryGroupAsync(String, RequestContext)

[Protocol Method] Run a discovery group with a given groupName.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UpdateAssets(String, AssetUpdatePayload, CancellationToken)

Update labels on assets matching the provided filter.

UpdateAssets(String, RequestContent, RequestContext)

[Protocol Method] Update labels on assets matching the provided filter.

UpdateAssetsAsync(String, AssetUpdatePayload, CancellationToken)

Update labels on assets matching the provided filter.

UpdateAssetsAsync(String, RequestContent, RequestContext)

[Protocol Method] Update labels on assets matching the provided filter.

ValidateDataConnection(DataConnectionPayload, CancellationToken)

Validate a data connection with a given dataConnectionName.

ValidateDataConnection(RequestContent, RequestContext)

[Protocol Method] Validate a data connection with a given dataConnectionName.

ValidateDataConnectionAsync(DataConnectionPayload, CancellationToken)

Validate a data connection with a given dataConnectionName.

ValidateDataConnectionAsync(RequestContent, RequestContext)

[Protocol Method] Validate a data connection with a given dataConnectionName.

ValidateDiscoveryGroup(DiscoveryGroupPayload, CancellationToken)

Validate a discovery group with a given groupName.

ValidateDiscoveryGroup(RequestContent, RequestContext)

[Protocol Method] Validate a discovery group with a given groupName.

ValidateDiscoveryGroupAsync(DiscoveryGroupPayload, CancellationToken)

Validate a discovery group with a given groupName.

ValidateDiscoveryGroupAsync(RequestContent, RequestContext)

[Protocol Method] Validate a discovery group with a given groupName.

Applies to