UserDefinedResourcesProperties Class

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

public final class UserDefinedResourcesProperties

Properties of the IoT Security solution's user defined resources.

Constructor Summary

Constructor Description
UserDefinedResourcesProperties()

Creates an instance of UserDefinedResourcesProperties class.

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 querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.

void validate()

Validates the instance.

UserDefinedResourcesProperties withQuery(String query)

Set the query property: Azure Resource Graph query which represents the security solution's user defined resources.

UserDefinedResourcesProperties withQuerySubscriptions(List<String> querySubscriptions)

Set the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.

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:

the query value.

querySubscriptions

public List querySubscriptions()

Get the querySubscriptions property: List of Azure subscription ids on which the user defined resources query should be executed.

Returns:

the querySubscriptions value.

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:

query - the query value to set.

Returns:

the UserDefinedResourcesProperties object itself.

withQuerySubscriptions

public UserDefinedResourcesProperties withQuerySubscriptions(List 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.

Applies to