Skip to main content

discovery_templates

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

Overview

Namediscovery_templates
TypeResource
Idazure.defender_easm_dataplane.discovery_templates

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_rawexectemplate_id, subscription_id, resource_group_name, workspace_name, endpointRetrieve a disco template with a given templateId. Retrieve a disco template with a given templateId.
list_rawexecsubscription_id, resource_group_name, workspace_name, endpointfilter, skipRetrieve a list of disco templates for the provided search parameters. Retrieve a list of disco templates for the provided search parameters.

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: )
resource_group_namestring
subscription_idstring
template_idstringThe unique identifier for the disco template. Required.
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.

Lifecycle Methods

Retrieve a disco template with a given templateId. Retrieve a disco template with a given templateId.

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