Skip to main content

discovery_groups

Creates, updates, deletes, gets or lists a discovery_groups resource.

Overview

Namediscovery_groups
TypeResource
Idazure.defender_easm_dataplane.discovery_groups

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
deletedeletegroup_name, subscription_id, resource_group_name, workspace_name, endpointDelete a discovery group with a given groupName. Delete a discovery group with a given groupName.
get_rawexecgroup_name, subscription_id, resource_group_name, workspace_name, endpointRetrieve a discovery group with a given groupName. Retrieve a discovery group with a given groupName.
putexecgroup_name, subscription_id, resource_group_name, workspace_name, endpointCreate a discovery group with a given groupName. Create a discovery group with a given groupName.
list_rawexecsubscription_id, resource_group_name, workspace_name, endpointfilter, skipRetrieve a list of discovery group for the provided search parameters. Retrieve a list of discovery group for the provided search parameters.
list_runsexecgroup_name, subscription_id, resource_group_name, workspace_name, endpointfilter, skipRetrieve a collection of discovery run results for a discovery group with a given groupName. Retrieve a collection of discovery run results for a discovery group with a given groupName.
runexecgroup_name, subscription_id, resource_group_name, workspace_name, endpointRun a discovery group with a given groupName. Run a discovery group with a given groupName.
validateexecgroup_name, subscription_id, resource_group_name, workspace_name, endpointValidate a discovery group with a given groupName. Validate a discovery group with a given groupName.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
group_namestringThe unique identifier for the discovery group. Required.
resource_group_namestring
subscription_idstring
workspace_namestring
filterstringAn expression on the resource type that selects the resources to be returned. Default value is None.
skipintegerAn offset into the collection of the first item to be returned. Default value is 0.

DELETE examples

Delete a discovery group with a given groupName. Delete a discovery group with a given groupName.

DELETE FROM azure.defender_easm_dataplane.discovery_groups
WHERE group_name = '{{ group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Retrieve a discovery group with a given groupName. Retrieve a discovery group with a given groupName.

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