Share via


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

IFlowLogSettings 接口

定义

与网络观察程序和 Azure 资源关联的流日志配置的客户端表示形式。

public interface IFlowLogSettings : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.FlowLogInformationInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Network.Fluent.INetworkWatcher>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.IFlowLogSettings>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.FlowLogSettings.Update.IUpdate>
type IFlowLogSettings = interface
    interface IBeta
    interface IHasParent<INetworkWatcher>
    interface IHasInner<FlowLogInformationInner>
    interface IUpdatable<IUpdate>
    interface IRefreshable<IFlowLogSettings>
Public Interface IFlowLogSettings
Implements IBeta, IHasInner(Of FlowLogInformationInner), IHasParent(Of INetworkWatcher), IRefreshable(Of IFlowLogSettings), IUpdatable(Of IUpdate)
实现

属性

Enabled

如果启用日志记录,则为 true;否则为 false。

Inner

与网络观察程序和 Azure 资源关联的流日志配置的客户端表示形式。

(继承自 IHasInner<T>)
IsRetentionEnabled

如果启用保留策略,则为 true;否则为 false。

NetworkSecurityGroupId

获取这些流日志设置应用到的网络安全组 ID。

Parent

获取此子资源的父级。

(继承自 IHasParent<ParentT>)
RetentionDays

获取保留流日志记录的天数。

StorageId

获取用于存储流日志的存储帐户的 ID。

TargetResourceId

获取要为流日志记录配置的资源的 ID。

方法

Refresh()

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RefreshAsync(CancellationToken)

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
Update()

与网络观察程序和 Azure 资源关联的流日志配置的客户端表示形式。

(继承自 IUpdatable<T>)

适用于