DestinationsSpec Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. DestinationsSpec
- com.
Implements
public class DestinationsSpec
implements JsonSerializable<DestinationsSpec>
Specification of destinations that can be used in data flows.
Constructor Summary
Constructor | Description |
---|---|
DestinationsSpec() |
Creates an instance of Destinations |
Method Summary
Modifier and Type | Method and Description |
---|---|
Destinations |
azureMonitorMetrics()
Get the azure |
static
Destinations |
fromJson(JsonReader jsonReader)
Reads an instance of Destinations |
List<Log |
logAnalytics()
Get the log |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Destinations |
withAzureMonitorMetrics(DestinationsSpecAzureMonitorMetrics azureMonitorMetrics)
Set the azure |
Destinations |
withLogAnalytics(List<LogAnalyticsDestination> logAnalytics)
Set the log |
Methods inherited from java.lang.Object
Constructor Details
DestinationsSpec
public DestinationsSpec()
Creates an instance of DestinationsSpec class.
Method Details
azureMonitorMetrics
public DestinationsSpecAzureMonitorMetrics azureMonitorMetrics()
Get the azureMonitorMetrics property: Azure Monitor Metrics destination.
Returns:
fromJson
public static DestinationsSpec fromJson(JsonReader jsonReader)
Reads an instance of DestinationsSpec from the JsonReader.
Parameters:
Returns:
Throws:
logAnalytics
public List
Get the logAnalytics property: List of Log Analytics destinations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureMonitorMetrics
public DestinationsSpec withAzureMonitorMetrics(DestinationsSpecAzureMonitorMetrics azureMonitorMetrics)
Set the azureMonitorMetrics property: Azure Monitor Metrics destination.
Parameters:
Returns:
withLogAnalytics
public DestinationsSpec withLogAnalytics(List
Set the logAnalytics property: List of Log Analytics destinations.
Parameters:
Returns:
Applies to
Azure SDK for Java