PrivateCloudIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. PrivateCloudIdentity
- com.
Implements
public final class PrivateCloudIdentity
implements JsonSerializable<PrivateCloudIdentity>
Managed service identity (either system assigned, or none).
Constructor Summary
| Constructor | Description |
|---|---|
| PrivateCloudIdentity() |
Creates an instance of Private |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
| String |
principalId()
Get the principal |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Resource |
type()
Get the type property: The type of managed identity assigned to this resource. |
| void |
validate()
Validates the instance. |
|
Private |
withType(ResourceIdentityType type)
Set the type property: The type of managed identity assigned to this resource. |
Methods inherited from java.lang.Object
Constructor Details
PrivateCloudIdentity
public PrivateCloudIdentity()
Creates an instance of PrivateCloudIdentity class.
Method Details
fromJson
public static PrivateCloudIdentity fromJson(JsonReader jsonReader)
Reads an instance of PrivateCloudIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
toJson
type
public ResourceIdentityType type()
Get the type property: The type of managed identity assigned to this resource.
Returns:
validate
public void validate()
Validates the instance.
withType
public PrivateCloudIdentity withType(ResourceIdentityType type)
Set the type property: The type of managed identity assigned to this resource.
Parameters:
Returns: