Class DataCollectionEndpoint
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataCollectionEndpoint
-
- Direct Known Subclasses:
DataCollectionEndpointResourceProperties
public class DataCollectionEndpoint extends Object
Definition of data collection endpoint.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCollectionEndpointConfigurationAccessconfigurationAccess()Get the configurationAccess property: The endpoint used by agents to access their configuration.Stringdescription()Get the description property: Description of the data collection endpoint.StringimmutableId()Get the immutableId property: The immutable ID of this data collection endpoint resource.DataCollectionEndpointLogsIngestionlogsIngestion()Get the logsIngestion property: The endpoint used by clients to ingest logs.DataCollectionEndpointNetworkAclsnetworkAcls()Get the networkAcls property: Network access control rules for the endpoints.KnownDataCollectionEndpointProvisioningStateprovisioningState()Get the provisioningState property: The resource provisioning state.voidvalidate()Validates the instance.DataCollectionEndpointwithConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess)Set the configurationAccess property: The endpoint used by agents to access their configuration.DataCollectionEndpointwithDescription(String description)Set the description property: Description of the data collection endpoint.DataCollectionEndpointwithImmutableId(String immutableId)Set the immutableId property: The immutable ID of this data collection endpoint resource.DataCollectionEndpointwithLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion)Set the logsIngestion property: The endpoint used by clients to ingest logs.DataCollectionEndpointwithNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls)Set the networkAcls property: Network access control rules for the endpoints.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description of the data collection endpoint.- Returns:
- the description value.
-
withDescription
public DataCollectionEndpoint withDescription(String description)
Set the description property: Description of the data collection endpoint.- Parameters:
description- the description value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
immutableId
public String immutableId()
Get the immutableId property: The immutable ID of this data collection endpoint resource. This property is READ-ONLY.- Returns:
- the immutableId value.
-
withImmutableId
public DataCollectionEndpoint withImmutableId(String immutableId)
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
public DataCollectionEndpointConfigurationAccess configurationAccess()
Get the configurationAccess property: The endpoint used by agents to access their configuration.- Returns:
- the configurationAccess value.
-
withConfigurationAccess
public DataCollectionEndpoint withConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess)
Set the configurationAccess property: The endpoint used by agents to access their configuration.- Parameters:
configurationAccess- the configurationAccess value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
logsIngestion
public DataCollectionEndpointLogsIngestion logsIngestion()
Get the logsIngestion property: The endpoint used by clients to ingest logs.- Returns:
- the logsIngestion value.
-
withLogsIngestion
public DataCollectionEndpoint withLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion)
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
public DataCollectionEndpointNetworkAcls networkAcls()
Get the networkAcls property: Network access control rules for the endpoints.- Returns:
- the networkAcls value.
-
withNetworkAcls
public DataCollectionEndpoint withNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls)
Set the networkAcls property: Network access control rules for the endpoints.- Parameters:
networkAcls- the networkAcls value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
provisioningState
public KnownDataCollectionEndpointProvisioningState 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.
-
-