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