Class LinkedServiceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.LinkedServiceInner

public final class LinkedServiceInner extends com.azure.core.management.ProxyResource
The top level Linked service resource container.
  • Constructor Details

    • LinkedServiceInner

      public LinkedServiceInner()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public LinkedServiceInner withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the LinkedServiceInner object itself.
    • resourceId

      public String resourceId()
      Get the resourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access.
      Returns:
      the resourceId value.
    • withResourceId

      public LinkedServiceInner withResourceId(String resourceId)
      Set the resourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the LinkedServiceInner object itself.
    • writeAccessResourceId

      public String writeAccessResourceId()
      Get the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access.
      Returns:
      the writeAccessResourceId value.
    • withWriteAccessResourceId

      public LinkedServiceInner withWriteAccessResourceId(String writeAccessResourceId)
      Set the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access.
      Parameters:
      writeAccessResourceId - the writeAccessResourceId value to set.
      Returns:
      the LinkedServiceInner object itself.
    • provisioningState

      public LinkedServiceEntityStatus provisioningState()
      Get the provisioningState property: The provisioning state of the linked service.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public LinkedServiceInner withProvisioningState(LinkedServiceEntityStatus provisioningState)
      Set the provisioningState property: The provisioning state of the linked service.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the LinkedServiceInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.