VmInstanceHybridIdentityMetadataProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VmInstanceHybridIdentityMetadataProperties

Implements

public final class VmInstanceHybridIdentityMetadataProperties
implements JsonSerializable<VmInstanceHybridIdentityMetadataProperties>

Describes the properties of Hybrid Identity Metadata for a Virtual Machine.

Constructor Summary

Constructor Description
VmInstanceHybridIdentityMetadataProperties()

Creates an instance of VmInstanceHybridIdentityMetadataProperties class.

Method Summary

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

Reads an instance of VmInstanceHybridIdentityMetadataProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String publicKey()

Get the publicKey property: Gets or sets the Public Key.

String resourceUid()

Get the resourceUid property: The unique identifier for the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VmInstanceHybridIdentityMetadataProperties withPublicKey(String publicKey)

Set the publicKey property: Gets or sets the Public Key.

VmInstanceHybridIdentityMetadataProperties withResourceUid(String resourceUid)

Set the resourceUid property: The unique identifier for the resource.

Methods inherited from java.lang.Object

Constructor Details

VmInstanceHybridIdentityMetadataProperties

public VmInstanceHybridIdentityMetadataProperties()

Creates an instance of VmInstanceHybridIdentityMetadataProperties class.

Method Details

fromJson

public static VmInstanceHybridIdentityMetadataProperties fromJson(JsonReader jsonReader)

Reads an instance of VmInstanceHybridIdentityMetadataProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

publicKey

public String publicKey()

Get the publicKey property: Gets or sets the Public Key.

Returns:

the publicKey value.

resourceUid

public String resourceUid()

Get the resourceUid property: The unique identifier for the resource.

Returns:

the resourceUid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPublicKey

public VmInstanceHybridIdentityMetadataProperties withPublicKey(String publicKey)

Set the publicKey property: Gets or sets the Public Key.

Parameters:

publicKey - the publicKey value to set.

Returns:

the VmInstanceHybridIdentityMetadataProperties object itself.

withResourceUid

public VmInstanceHybridIdentityMetadataProperties withResourceUid(String resourceUid)

Set the resourceUid property: The unique identifier for the resource.

Parameters:

resourceUid - the resourceUid value to set.

Returns:

the VmInstanceHybridIdentityMetadataProperties object itself.

Applies to