Skip to main content

assets

Creates, updates, deletes, gets or lists an assets resource.

Overview

Nameassets
TypeResource
Idazure.defender_easm_dataplane.assets

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rawexecasset_id, subscription_id, resource_group_name, workspace_name, endpointRetrieve an asset by assetId. Retrieve an asset by assetId.
list_rawexecsubscription_id, resource_group_name, workspace_name, endpointfilter, orderby, skip, markRetrieve a list of assets for the provided search parameters. Retrieve a list of assets for the provided search parameters.
updateexecsubscription_id, resource_group_name, workspace_name, endpointfilterUpdate labels on assets matching the provided filter. Update labels on assets matching the provided filter.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
asset_idstringThe unique identifier for the asset. Ids are formatted as '$$' and can optionally be Base64 encoded if they contain special characters. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
resource_group_namestring
subscription_idstring
workspace_namestring
filterstringAn expression on the resource type that selects the resources to be returned. Default value is None.
markstringSpecify this value instead of 'skip' to use cursor-based searching. Initial value is '*' and subsequent values are returned in the response. Default value is None.
orderbystringA list of expressions that specify the order of the returned resources. Default value is None.
skipintegerAn offset into the collection of the first item to be returned. Default value is 0.

Lifecycle Methods

Retrieve an asset by assetId. Retrieve an asset by assetId.

EXEC azure.defender_easm_dataplane.assets.get_raw 
@asset_id='{{ asset_id }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@endpoint='{{ endpoint }}' --required
;