你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DiagnosticSetting Interface

Implements

public interface DiagnosticSetting
extends Indexable, HasId, HasName, HasManager<MonitorManager>, HasInnerModel<DiagnosticSettingsResourceInner>, Refreshable<DiagnosticSetting>, Updatable<Update>

An immutable client-side representation of an Azure diagnostic settings.

Method Summary

Modifier and Type Method and Description
abstract String eventHubAuthorizationRuleId()

Get the eventHubAuthorizationRuleId value.

abstract String eventHubName()

Get the eventHubName value.

abstract List<LogSettings> logs()

Get the logs value.

abstract List<MetricSettings> metrics()

Get the metrics value.

abstract String resourceId()

Get the associated resource Id value.

abstract String storageAccountId()

Get the storageAccountId value.

abstract String workspaceId()

Get the workspaceId value.

Method Details

eventHubAuthorizationRuleId

public abstract String eventHubAuthorizationRuleId()

Get the eventHubAuthorizationRuleId value.

Returns:

the eventHubAuthorizationRuleId value

eventHubName

public abstract String eventHubName()

Get the eventHubName value.

Returns:

the eventHubName value

logs

public abstract List logs()

Get the logs value.

Returns:

the logs value

metrics

public abstract List metrics()

Get the metrics value.

Returns:

the metrics value

resourceId

public abstract String resourceId()

Get the associated resource Id value.

Returns:

the associated resource Id value

storageAccountId

public abstract String storageAccountId()

Get the storageAccountId value.

Returns:

the storageAccountId value

workspaceId

public abstract String workspaceId()

Get the workspaceId value.

Returns:

the workspaceId value

Applies to