Class DataCollectionEndpointResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.monitor.fluent.models.DataCollectionEndpointResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class DataCollectionEndpointResourceInner
extends com.azure.core.management.Resource
Definition of ARM tracked top level resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataCollectionEndpointResourceInner 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.etag()
Get the etag property: Resource entity tag (ETag).fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DataCollectionEndpointResourceInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.Get the immutableId property: The immutable ID of this data collection endpoint resource.kind()
Get the kind property: The kind of the resource.Get the logsIngestion property: The endpoint used by clients to ingest logs.name()
Get the name property: The name of the resource.Get the networkAcls property: Network access control rules for the endpoints.Get the provisioningState property: The resource provisioning state.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.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.Set the kind property: The kind of the resource.withLocation
(String location) 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.core.management.Resource
location, tags
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
-
DataCollectionEndpointResourceInner
public DataCollectionEndpointResourceInner()Creates an instance of DataCollectionEndpointResourceInner class.
-
-
Method Details
-
kind
Get the kind property: The kind of the resource.- Returns:
- the kind value.
-
withKind
Set the kind property: The kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the DataCollectionEndpointResourceInner object itself.
-
etag
Get the etag property: Resource entity tag (ETag).- Returns:
- the etag value.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 DataCollectionEndpointResourceInner 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 DataCollectionEndpointResourceInner object itself.
-
configurationAccess
Get the configurationAccess property: The endpoint used by clients to access their configuration.- Returns:
- the configurationAccess value.
-
withConfigurationAccess
public DataCollectionEndpointResourceInner 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 DataCollectionEndpointResourceInner object itself.
-
logsIngestion
Get the logsIngestion property: The endpoint used by clients to ingest logs.- Returns:
- the logsIngestion value.
-
withLogsIngestion
public DataCollectionEndpointResourceInner withLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion) Set the logsIngestion property: The endpoint used by clients to ingest logs.- Parameters:
logsIngestion
- the logsIngestion value to set.- Returns:
- the DataCollectionEndpointResourceInner object itself.
-
networkAcls
Get the networkAcls property: Network access control rules for the endpoints.- Returns:
- the networkAcls value.
-
withNetworkAcls
public DataCollectionEndpointResourceInner withNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls) Set the networkAcls property: Network access control rules for the endpoints.- Parameters:
networkAcls
- the networkAcls value to set.- Returns:
- the DataCollectionEndpointResourceInner 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:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
public static DataCollectionEndpointResourceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DataCollectionEndpointResourceInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DataCollectionEndpointResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the DataCollectionEndpointResourceInner.
-