你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiagnosticSettings interface
表示 DiagnosticSettings 的接口。
方法
方法详细信息
beginUpdateDiagnosticProactiveLogCollectionSettings(string, string, DiagnosticProactiveLogCollectionSettings, DiagnosticSettingsUpdateDiagnosticProactiveLogCollectionSettingsOptionalParams)
汇报 Data Box Edge/Data Box Gateway 设备上的主动日志收集设置。
function beginUpdateDiagnosticProactiveLogCollectionSettings(deviceName: string, resourceGroupName: string, proactiveLogCollectionSettings: DiagnosticProactiveLogCollectionSettings, options?: DiagnosticSettingsUpdateDiagnosticProactiveLogCollectionSettingsOptionalParams): Promise<PollerLike<PollOperationState<DiagnosticProactiveLogCollectionSettings>, DiagnosticProactiveLogCollectionSettings>>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
- proactiveLogCollectionSettings
- DiagnosticProactiveLogCollectionSettings
主动日志收集设置。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<DiagnosticProactiveLogCollectionSettings>, DiagnosticProactiveLogCollectionSettings>>
beginUpdateDiagnosticProactiveLogCollectionSettingsAndWait(string, string, DiagnosticProactiveLogCollectionSettings, DiagnosticSettingsUpdateDiagnosticProactiveLogCollectionSettingsOptionalParams)
汇报 Data Box Edge/Data Box Gateway 设备上的主动日志收集设置。
function beginUpdateDiagnosticProactiveLogCollectionSettingsAndWait(deviceName: string, resourceGroupName: string, proactiveLogCollectionSettings: DiagnosticProactiveLogCollectionSettings, options?: DiagnosticSettingsUpdateDiagnosticProactiveLogCollectionSettingsOptionalParams): Promise<DiagnosticProactiveLogCollectionSettings>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
- proactiveLogCollectionSettings
- DiagnosticProactiveLogCollectionSettings
主动日志收集设置。
返回
beginUpdateDiagnosticRemoteSupportSettings(string, string, DiagnosticRemoteSupportSettings, DiagnosticSettingsUpdateDiagnosticRemoteSupportSettingsOptionalParams)
汇报 Data Box Edge/Data Box Gateway 设备上的诊断远程支持设置。
function beginUpdateDiagnosticRemoteSupportSettings(deviceName: string, resourceGroupName: string, diagnosticRemoteSupportSettings: DiagnosticRemoteSupportSettings, options?: DiagnosticSettingsUpdateDiagnosticRemoteSupportSettingsOptionalParams): Promise<PollerLike<PollOperationState<DiagnosticRemoteSupportSettings>, DiagnosticRemoteSupportSettings>>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
- diagnosticRemoteSupportSettings
- DiagnosticRemoteSupportSettings
诊断远程支持设置。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<DiagnosticRemoteSupportSettings>, DiagnosticRemoteSupportSettings>>
beginUpdateDiagnosticRemoteSupportSettingsAndWait(string, string, DiagnosticRemoteSupportSettings, DiagnosticSettingsUpdateDiagnosticRemoteSupportSettingsOptionalParams)
汇报 Data Box Edge/Data Box Gateway 设备上的诊断远程支持设置。
function beginUpdateDiagnosticRemoteSupportSettingsAndWait(deviceName: string, resourceGroupName: string, diagnosticRemoteSupportSettings: DiagnosticRemoteSupportSettings, options?: DiagnosticSettingsUpdateDiagnosticRemoteSupportSettingsOptionalParams): Promise<DiagnosticRemoteSupportSettings>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
- diagnosticRemoteSupportSettings
- DiagnosticRemoteSupportSettings
诊断远程支持设置。
返回
Promise<DiagnosticRemoteSupportSettings>
getDiagnosticProactiveLogCollectionSettings(string, string, DiagnosticSettingsGetDiagnosticProactiveLogCollectionSettingsOptionalParams)
获取指定 Data Box Edge/Data Box Gateway 设备的主动日志收集设置。
function getDiagnosticProactiveLogCollectionSettings(deviceName: string, resourceGroupName: string, options?: DiagnosticSettingsGetDiagnosticProactiveLogCollectionSettingsOptionalParams): Promise<DiagnosticProactiveLogCollectionSettings>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
返回
getDiagnosticRemoteSupportSettings(string, string, DiagnosticSettingsGetDiagnosticRemoteSupportSettingsOptionalParams)
获取指定 Data Box Edge/Data Box Gateway 设备的诊断远程支持设置。
function getDiagnosticRemoteSupportSettings(deviceName: string, resourceGroupName: string, options?: DiagnosticSettingsGetDiagnosticRemoteSupportSettingsOptionalParams): Promise<DiagnosticRemoteSupportSettings>
参数
- deviceName
-
string
设备名称。
- resourceGroupName
-
string
资源组名称。
返回
Promise<DiagnosticRemoteSupportSettings>