Share via


DeploymentResourceIdReference Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridnetwork.models.DeploymentResourceIdReference

Implements

public class DeploymentResourceIdReference
implements JsonSerializable<DeploymentResourceIdReference>

The azure resource reference which is used for deployment.

Constructor Summary

Constructor Description
DeploymentResourceIdReference()

Creates an instance of DeploymentResourceIdReference class.

Method Summary

Modifier and Type Method and Description
static DeploymentResourceIdReference fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceIdReference from the JsonReader.

IdType idType()

Get the idType property: The resource reference arm id type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DeploymentResourceIdReference

public DeploymentResourceIdReference()

Creates an instance of DeploymentResourceIdReference class.

Method Details

fromJson

public static DeploymentResourceIdReference fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceIdReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeploymentResourceIdReference 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 DeploymentResourceIdReference.

idType

public IdType idType()

Get the idType property: The resource reference arm id type.

Returns:

the idType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to