Class UserDefinedResourcesProperties

java.lang.Object
com.azure.resourcemanager.security.models.UserDefinedResourcesProperties

public final class UserDefinedResourcesProperties extends Object
Properties of the IoT Security solution's user defined resources.
  • Constructor Details

    • UserDefinedResourcesProperties

      public UserDefinedResourcesProperties()
  • Method Details

    • query

      public String query()
      Get the query property: Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"".
      Returns:
      the query value.
    • withQuery

      public UserDefinedResourcesProperties withQuery(String query)
      Set the query property: Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"".
      Parameters:
      query - the query value to set.
      Returns:
      the UserDefinedResourcesProperties object itself.
    • querySubscriptions

      public List<String> querySubscriptions()
      Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
      Returns:
      the querySubscriptions value.
    • withQuerySubscriptions

      public UserDefinedResourcesProperties withQuerySubscriptions(List<String> querySubscriptions)
      Set the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
      Parameters:
      querySubscriptions - the querySubscriptions value to set.
      Returns:
      the UserDefinedResourcesProperties object itself.
    • validate

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