ManagedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. ManagedIdentity
- com.
Implements
public final class ManagedIdentity
implements JsonSerializable<ManagedIdentity>
The workspace managed identity.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedIdentity() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
principalId()
Get the principal |
| UUID |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Resource |
type()
Get the type property: The type of managed identity for the workspace. |
| void |
validate()
Validates the instance. |
|
Managed |
withType(ResourceIdentityType type)
Set the type property: The type of managed identity for the workspace. |
Methods inherited from java.lang.Object
Constructor Details
ManagedIdentity
public ManagedIdentity()
Creates an instance of ManagedIdentity class.
Method Details
fromJson
public static ManagedIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The principal ID of the workspace managed identity.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The tenant ID of the workspace managed identity.
Returns:
toJson
type
public ResourceIdentityType type()
Get the type property: The type of managed identity for the workspace.
Returns:
validate
public void validate()
Validates the instance.
withType
public ManagedIdentity withType(ResourceIdentityType type)
Set the type property: The type of managed identity for the workspace.
Parameters:
Returns: