LogsIngestionEndpointSpec Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.LogsIngestionEndpointSpec

Implements

public class LogsIngestionEndpointSpec
implements JsonSerializable<LogsIngestionEndpointSpec>

Definition of the endpoint used for ingesting logs.

Constructor Summary

Constructor Description
LogsIngestionEndpointSpec()

Creates an instance of LogsIngestionEndpointSpec class.

Method Summary

Modifier and Type Method and Description
String endpoint()

Get the endpoint property: The endpoint.

static LogsIngestionEndpointSpec fromJson(JsonReader jsonReader)

Reads an instance of LogsIngestionEndpointSpec from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

LogsIngestionEndpointSpec

public LogsIngestionEndpointSpec()

Creates an instance of LogsIngestionEndpointSpec class.

Method Details

endpoint

public String endpoint()

Get the endpoint property: The endpoint. This property is READ-ONLY.

Returns:

the endpoint value.

fromJson

public static LogsIngestionEndpointSpec fromJson(JsonReader jsonReader)

Reads an instance of LogsIngestionEndpointSpec from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LogsIngestionEndpointSpec if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LogsIngestionEndpointSpec.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to