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