AzureResourceIdentifier Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ResourceIdentifier - com.
azure. resourcemanager. security. models. AzureResourceIdentifier
- com.
- com.
public final class AzureResourceIdentifier
extends ResourceIdentifier
Azure resource identifier.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureResourceIdentifier() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureResourceId()
Get the azure |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
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 ResourceIdentifier
Methods inherited from java.lang.Object
Constructor Details
AzureResourceIdentifier
public AzureResourceIdentifier()
Creates an instance of AzureResourceIdentifier class.
Method Details
azureResourceId
public String azureResourceId()
Get the azureResourceId property: ARM resource identifier for the cloud resource being alerted on.
Returns:
fromJson
public static AzureResourceIdentifier fromJson(JsonReader jsonReader)
Reads an instance of AzureResourceIdentifier from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureResourceIdentifier.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public ResourceIdentifierType type()
Get the type property: There can be multiple identifiers of different type per alert, this field specify the identifier type.
Overrides:
AzureResourceIdentifier.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AzureResourceIdentifier.validate()