Class VmMetadata
java.lang.Object
com.microsoft.graph.security.models.VmMetadata
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Vm Metadata.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Cloud Provider.the OData type of the object as returned by the serviceThe Resource Id.The Subscription Id.The Vm Id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
cloudProvider
@SerializedName(value="cloudProvider", alternate="CloudProvider") @Expose @Nullable public VmCloudProvider cloudProviderThe 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 resourceIdThe Resource Id. Unique identifier of the Azure resource. -
subscriptionId
@SerializedName(value="subscriptionId", alternate="SubscriptionId") @Expose @Nullable public String subscriptionIdThe Subscription Id. Unique identifier of the Azure subscription the customer tenant belongs to. -
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 interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-