Class AccessModeSettings

java.lang.Object
com.azure.resourcemanager.monitor.models.AccessModeSettings

public final class AccessModeSettings extends Object
Properties that define the scope private link mode settings.
  • Constructor Details

    • AccessModeSettings

      public AccessModeSettings()
      Creates an instance of AccessModeSettings class.
  • Method Details

    • queryAccessMode

      public AccessMode queryAccessMode()
      Get the queryAccessMode property: Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
      Returns:
      the queryAccessMode value.
    • withQueryAccessMode

      public AccessModeSettings withQueryAccessMode(AccessMode queryAccessMode)
      Set the queryAccessMode property: Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
      Parameters:
      queryAccessMode - the queryAccessMode value to set.
      Returns:
      the AccessModeSettings object itself.
    • ingestionAccessMode

      public AccessMode ingestionAccessMode()
      Get the ingestionAccessMode property: Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
      Returns:
      the ingestionAccessMode value.
    • withIngestionAccessMode

      public AccessModeSettings withIngestionAccessMode(AccessMode ingestionAccessMode)
      Set the ingestionAccessMode property: Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
      Parameters:
      ingestionAccessMode - the ingestionAccessMode value to set.
      Returns:
      the AccessModeSettings object itself.
    • exclusions

      public List<AccessModeSettingsExclusion> exclusions()
      Get the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections.
      Returns:
      the exclusions value.
    • withExclusions

      public AccessModeSettings withExclusions(List<AccessModeSettingsExclusion> exclusions)
      Set the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections.
      Parameters:
      exclusions - the exclusions value to set.
      Returns:
      the AccessModeSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.