ResourceIdentifier Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ResourceIdentifier
- com.
Implements
public class ResourceIdentifier
implements JsonSerializable<ResourceIdentifier>
A resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.).
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceIdentifier() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Resource |
type()
Get the type property: There can be multiple identifiers of different type per alert, this field specify the identifier type. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ResourceIdentifier
public ResourceIdentifier()
Creates an instance of ResourceIdentifier class.
Method Details
fromJson
public static ResourceIdentifier fromJson(JsonReader jsonReader)
Reads an instance of ResourceIdentifier from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public ResourceIdentifierType type()
Get the type property: There can be multiple identifiers of different type per alert, this field specify the identifier type.
Returns:
validate
public void validate()
Validates the instance.