AzureMonitorMetricsDestination Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. AzureMonitorMetricsDestination
- com.
Implements
public class AzureMonitorMetricsDestination
implements JsonSerializable<AzureMonitorMetricsDestination>
Azure Monitor Metrics destination.
Constructor Summary
Constructor | Description |
---|---|
AzureMonitorMetricsDestination() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
name()
Get the name property: A friendly name for the destination. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withName(String name)
Set the name property: A friendly name for the destination. |
Methods inherited from java.lang.Object
Constructor Details
AzureMonitorMetricsDestination
public AzureMonitorMetricsDestination()
Creates an instance of AzureMonitorMetricsDestination class.
Method Details
fromJson
public static AzureMonitorMetricsDestination fromJson(JsonReader jsonReader)
Reads an instance of AzureMonitorMetricsDestination from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public AzureMonitorMetricsDestination withName(String name)
Set the name property: A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.
Parameters:
Returns:
Applies to
Azure SDK for Java