Freigeben über


VirtualMachineIdentityUserAssignedIdentities Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.VirtualMachineIdentityUserAssignedIdentities

Implements

public final class VirtualMachineIdentityUserAssignedIdentities
implements JsonSerializable<VirtualMachineIdentityUserAssignedIdentities>

The VirtualMachineIdentityUserAssignedIdentities model.

Constructor Summary

Constructor Description
VirtualMachineIdentityUserAssignedIdentities()

Creates an instance of VirtualMachineIdentityUserAssignedIdentities class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The client id of user assigned identity.

static VirtualMachineIdentityUserAssignedIdentities fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineIdentityUserAssignedIdentities from the JsonReader.

String principalId()

Get the principalId property: The principal id of user assigned identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineIdentityUserAssignedIdentities

public VirtualMachineIdentityUserAssignedIdentities()

Creates an instance of VirtualMachineIdentityUserAssignedIdentities class.

Method Details

clientId

public String clientId()

Get the clientId property: The client id of user assigned identity.

Returns:

the clientId value.

fromJson

public static VirtualMachineIdentityUserAssignedIdentities fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineIdentityUserAssignedIdentities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

principalId

public String principalId()

Get the principalId property: The principal id of user assigned identity.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to