Skip to main content

diagnostic_settings_diagnostic_proactive_log_collection_settings

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

Overview

Namediagnostic_settings_diagnostic_proactive_log_collection_settings
TypeResource
Idazure.data_box_edge.diagnostic_settings_diagnostic_proactive_log_collection_settings

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe object name.
deviceNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe hierarchical type of the object.
user_consenttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, resourceGroupName, subscriptionIdGets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device.
updateREPLACEdeviceName, resourceGroupName, subscriptionId, data__propertiesUpdates the proactive log collection settings on a Data Box Edge/Data Box Gateway device.

SELECT examples

Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device.

SELECT
id,
name,
deviceName,
resourceGroupName,
subscriptionId,
system_data,
type,
user_consent
FROM azure.data_box_edge.vw_diagnostic_settings_diagnostic_proactive_log_collection_settings
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified diagnostic_settings_diagnostic_proactive_log_collection_settings resource.

/*+ update */
REPLACE azure.data_box_edge.diagnostic_settings_diagnostic_proactive_log_collection_settings
SET
properties = '{{ properties }}'
WHERE
deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__properties = '{{ data__properties }}';