UserDefinedResourcesProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. UserDefinedResourcesProperties
- com.
public final class UserDefinedResourcesProperties
Properties of the IoT Security solution's user defined resources.
Constructor Summary
Constructor | Description |
---|---|
UserDefinedResourcesProperties() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
query()
Get the query property: Azure Resource Graph query which represents the security solution's user defined resources. |
List<String> |
querySubscriptions()
Get the query |
void |
validate()
Validates the instance. |
User |
withQuery(String query)
Set the query property: Azure Resource Graph query which represents the security solution's user defined resources. |
User |
withQuerySubscriptions(List<String> querySubscriptions)
Set the query |
Methods inherited from java.lang.Object
Constructor Details
UserDefinedResourcesProperties
public UserDefinedResourcesProperties()
Creates an instance of UserDefinedResourcesProperties class.
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:
querySubscriptions
public List
Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
Returns:
validate
public void validate()
Validates the instance.
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:
Returns:
withQuerySubscriptions
public UserDefinedResourcesProperties withQuerySubscriptions(List
Set the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for