Class UserDefinedResourcesProperties
java.lang.Object
com.azure.resourcemanager.security.models.UserDefinedResourcesProperties
Properties of the IoT Security solution's user defined resources.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionquery()
Get the query property: Azure Resource Graph query which represents the security solution's user defined resources.Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.void
validate()
Validates the instance.Set the query property: Azure Resource Graph query which represents the security solution's user defined resources.withQuerySubscriptions
(List<String> querySubscriptions) Set the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
-
Constructor Details
-
UserDefinedResourcesProperties
public UserDefinedResourcesProperties()
-
-
Method Details
-
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
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
Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.- Returns:
- the querySubscriptions value.
-
withQuerySubscriptions
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.
-