///GENMHASH:F57C7696A3ED75E619C8E1A9DFE5EA61:9938198EE6EDB0DC20C3A7100AD87595 public IFlowLogSettings GetFlowLogSettings(string nsgId) { FlowLogInformationInner flowLogInformationInner = Extensions.Synchronize(() => this.Manager.Inner.NetworkWatchers .GetFlowLogStatusAsync(this.ResourceGroupName, this.Name, nsgId)); return(new FlowLogSettingsImpl(this, flowLogInformationInner, nsgId)); }
/// <summary> /// Configures flow log and traffic analytics (optional) on a specified /// resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the network watcher resource group. /// </param> /// <param name='networkWatcherName'> /// The name of the network watcher resource. /// </param> /// <param name='parameters'> /// Parameters that define the configuration of flow log. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <FlowLogInformationInner> BeginSetFlowLogConfigurationAsync(this INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, FlowLogInformationInner parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginSetFlowLogConfigurationWithHttpMessagesAsync(resourceGroupName, networkWatcherName, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
///GENMHASH:9AAC47DA169F42F8CA46D0FE0B02F7F6:9AAD7FAF579052B374A9FC19AF26F830 internal FlowLogSettingsImpl(NetworkWatcherImpl parent, FlowLogInformationInner inner, string nsgId) : base(inner.TargetResourceId, inner) { this.parent = parent; this.nsgId = nsgId; }