Class VmMetadata

java.lang.Object
com.microsoft.graph.security.models.VmMetadata
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class VmMetadata extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Vm Metadata.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • cloudProvider

      @SerializedName(value="cloudProvider", alternate="CloudProvider") @Expose @Nullable public VmCloudProvider cloudProvider
      The Cloud Provider. The cloud provider hosting the virtual machine. The possible values are: unknown, azure, unknownFutureValue.
    • resourceId

      @SerializedName(value="resourceId", alternate="ResourceId") @Expose @Nullable public String resourceId
      The Resource Id. Unique identifier of the Azure resource.
    • subscriptionId

      @SerializedName(value="subscriptionId", alternate="SubscriptionId") @Expose @Nullable public String subscriptionId
      The Subscription Id. Unique identifier of the Azure subscription the customer tenant belongs to.
    • vmId

      @SerializedName(value="vmId", alternate="VmId") @Expose @Nullable public String vmId
      The Vm Id. Unique identifier of the virtual machine instance.
  • Constructor Details

    • VmMetadata

      public VmMetadata()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to