SAPVirtualInstanceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. workloadssapvirtualinstance. models. SAPVirtualInstanceIdentity
- com.
Implements
public final class SAPVirtualInstanceIdentity
implements JsonSerializable<SAPVirtualInstanceIdentity>
Managed service identity (user assigned identities).
Constructor Summary
| Constructor | Description |
|---|---|
| SAPVirtualInstanceIdentity() |
Creates an instance of SAPVirtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
SAPVirtual |
fromJson(JsonReader jsonReader)
Reads an instance of SAPVirtual |
|
Json |
toJson(JsonWriter jsonWriter) |
|
SAPVirtual |
type()
Get the type property: The type of managed identity assigned to this resource. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
SAPVirtual |
withType(SAPVirtualInstanceIdentityType type)
Set the type property: The type of managed identity assigned to this resource. |
|
SAPVirtual |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
SAPVirtualInstanceIdentity
public SAPVirtualInstanceIdentity()
Creates an instance of SAPVirtualInstanceIdentity class.
Method Details
fromJson
public static SAPVirtualInstanceIdentity fromJson(JsonReader jsonReader)
Reads an instance of SAPVirtualInstanceIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public SAPVirtualInstanceIdentityType type()
Get the type property: The type of managed identity assigned to this resource.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The identities assigned to this resource by the user.
Returns:
validate
public void validate()
Validates the instance.
withType
public SAPVirtualInstanceIdentity withType(SAPVirtualInstanceIdentityType type)
Set the type property: The type of managed identity assigned to this resource.
Parameters:
Returns:
withUserAssignedIdentities
public SAPVirtualInstanceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The identities assigned to this resource by the user.
Parameters:
Returns: