Class DataCollectionEndpoint
java.lang.Object
com.azure.resourcemanager.monitor.models.DataCollectionEndpoint
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DataCollectionEndpoint>
- Direct Known Subclasses:
DataCollectionEndpointResourceProperties
public class DataCollectionEndpoint
extends Object
implements com.azure.json.JsonSerializable<DataCollectionEndpoint>
Definition of data collection endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataCollectionEndpoint class. -
Method Summary
Modifier and TypeMethodDescriptionGet the configurationAccess property: The endpoint used by clients to access their configuration.Get the description property: Description of the data collection endpoint.static DataCollectionEndpointfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DataCollectionEndpoint from the JsonReader.Get the immutableId property: The immutable ID of this data collection endpoint resource.Get the logsIngestion property: The endpoint used by clients to ingest logs.Get the networkAcls property: Network access control rules for the endpoints.Get the provisioningState property: The resource provisioning state.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess) Set the configurationAccess property: The endpoint used by clients to access their configuration.withDescription(String description) Set the description property: Description of the data collection endpoint.withImmutableId(String immutableId) Set the immutableId property: The immutable ID of this data collection endpoint resource.withLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion) Set the logsIngestion property: The endpoint used by clients to ingest logs.withNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls) Set the networkAcls property: Network access control rules for the endpoints.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataCollectionEndpoint
public DataCollectionEndpoint()Creates an instance of DataCollectionEndpoint class.
-
-
Method Details
-
description
Get the description property: Description of the data collection endpoint.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the data collection endpoint.- Parameters:
description- the description value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
immutableId
Get the immutableId property: The immutable ID of this data collection endpoint resource. This property is READ-ONLY.- Returns:
- the immutableId value.
-
withImmutableId
Set the immutableId property: The immutable ID of this data collection endpoint resource. This property is READ-ONLY.- Parameters:
immutableId- the immutableId value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
configurationAccess
Get the configurationAccess property: The endpoint used by clients to access their configuration.- Returns:
- the configurationAccess value.
-
withConfigurationAccess
public DataCollectionEndpoint withConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess) Set the configurationAccess property: The endpoint used by clients to access their configuration.- Parameters:
configurationAccess- the configurationAccess value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
logsIngestion
Get the logsIngestion property: The endpoint used by clients to ingest logs.- Returns:
- the logsIngestion value.
-
withLogsIngestion
Set the logsIngestion property: The endpoint used by clients to ingest logs.- Parameters:
logsIngestion- the logsIngestion value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
networkAcls
Get the networkAcls property: Network access control rules for the endpoints.- Returns:
- the networkAcls value.
-
withNetworkAcls
Set the networkAcls property: Network access control rules for the endpoints.- Parameters:
networkAcls- the networkAcls value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
provisioningState
Get the provisioningState property: The resource provisioning state. This property is READ-ONLY.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DataCollectionEndpoint>- Throws:
IOException
-
fromJson
public static DataCollectionEndpoint fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DataCollectionEndpoint from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DataCollectionEndpoint 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 DataCollectionEndpoint.
-