UserDefinedResourcesProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. UserDefinedResourcesProperties
- com.
Implements
public final class UserDefinedResourcesProperties
implements JsonSerializable<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 |
|---|---|
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| 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 |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
fromJson
public static UserDefinedResourcesProperties fromJson(JsonReader jsonReader)
Reads an instance of UserDefinedResourcesProperties from the JsonReader.
Parameters:
Returns:
Throws:
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<String> querySubscriptions()
Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
Returns:
toJson
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<String> querySubscriptions)
Set the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.
Parameters:
Returns: