Class LinkedServiceProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.LinkedServiceProperties

public final class LinkedServiceProperties extends Object
Linked service properties.
  • Constructor Details

    • LinkedServiceProperties

      public LinkedServiceProperties()
  • Method Details

    • 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 LinkedServiceProperties 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 LinkedServiceProperties 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 LinkedServiceProperties 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 LinkedServiceProperties object itself.
    • provisioningState

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

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

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