Interface FlowLogSettings

All Superinterfaces:
HasInnerModel<FlowLogInformationInner>, HasParent<NetworkWatcher>, Refreshable<FlowLogSettings>, Updatable<FlowLogSettings.Update>

Client-side representation of the configuration of flow log, associated with network watcher and an Azure resource.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The template for a flow log information update operation, containing all the settings that can be modified.
    static interface 
    Grouping of flow log information update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether logging is enabled.
    boolean
    Checks whether retention policy is enabled.
    Gets network security group id these flow log settings apply to.
    int
    Gets the number of days to retain flow log records.
    Gets the id of the storage account used to store the flow log.
    Get the ID of the resource to configure for flow logging.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • targetResourceId

      String targetResourceId()
      Get the ID of the resource to configure for flow logging.
      Returns:
      the targetResourceId value
    • storageId

      String storageId()
      Gets the id of the storage account used to store the flow log.
      Returns:
      the id of the storage account used to store the flow log
    • enabled

      boolean enabled()
      Checks whether logging is enabled.
      Returns:
      true if logging is enabled, false otherwise
    • isRetentionEnabled

      boolean isRetentionEnabled()
      Checks whether retention policy is enabled.
      Returns:
      true if retention policy enabled, false otherwise
    • retentionDays

      int retentionDays()
      Gets the number of days to retain flow log records.
      Returns:
      the number of days to retain flow log records
    • networkSecurityGroupId

      String networkSecurityGroupId()
      Gets network security group id these flow log settings apply to.
      Returns:
      network security group id these flow log settings apply to