Class ScopedResourceProperties

java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.ScopedResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ScopedResourceProperties>

public final class ScopedResourceProperties extends Object implements com.azure.json.JsonSerializable<ScopedResourceProperties>
Properties of a private link scoped resource.
  • Constructor Details

    • ScopedResourceProperties

      public ScopedResourceProperties()
      Creates an instance of ScopedResourceProperties class.
  • Method Details

    • linkedResourceId

      public String linkedResourceId()
      Get the linkedResourceId property: The resource id of the scoped Azure monitor resource.
      Returns:
      the linkedResourceId value.
    • withLinkedResourceId

      public ScopedResourceProperties withLinkedResourceId(String linkedResourceId)
      Set the linkedResourceId property: The resource id of the scoped Azure monitor resource.
      Parameters:
      linkedResourceId - the linkedResourceId value to set.
      Returns:
      the ScopedResourceProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: State of the private endpoint connection.
      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<ScopedResourceProperties>
      Throws:
      IOException
    • fromJson

      public static ScopedResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ScopedResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ScopedResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ScopedResourceProperties.