Class PrivateLinkScopedResource
java.lang.Object
com.azure.resourcemanager.loganalytics.models.PrivateLinkScopedResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateLinkScopedResource>
public final class PrivateLinkScopedResource
extends Object
implements com.azure.json.JsonSerializable<PrivateLinkScopedResource>
The private link scope resource reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateLinkScopedResourcefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateLinkScopedResource from the JsonReader.Get the resourceId property: The full resource Id of the private link scope resource.scopeId()Get the scopeId property: The private link scope unique Identifier.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
resourceId
Get the resourceId property: The full resource Id of the private link scope resource.- Returns:
- the resourceId value.
-
scopeId
Get the scopeId property: The private link scope unique Identifier.- Returns:
- the scopeId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PrivateLinkScopedResource>- Throws:
IOException
-
fromJson
public static PrivateLinkScopedResource fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateLinkScopedResource from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateLinkScopedResource 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 PrivateLinkScopedResource.
-