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 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

      public String 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

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • withLocation

      public DataCollectionEndpointResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      Overrides:
      withTags in class com.azure.core.management.Resource
    • description

      public String description()
      Get the description property: Description of the data collection endpoint.
      Returns:
      the description value.
    • withDescription

      public DataCollectionEndpointResourceInner withDescription(String description)
      Set the description property: Description of the data collection endpoint.
      Parameters:
      description - the description value to set.
      Returns:
      the DataCollectionEndpointResourceInner 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 DataCollectionEndpointResourceInner 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 DataCollectionEndpointResourceInner object itself.
    • configurationAccess

      public DataCollectionEndpointConfigurationAccess 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

      public DataCollectionEndpointLogsIngestion 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 DataCollectionEndpointResourceInner object itself.
    • networkAcls

      public DataCollectionEndpointNetworkAcls 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 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.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.