PrivateCloudIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. PrivateCloudIdentity
- com.
public final class PrivateCloudIdentity
Identity for the virtual machine.
Constructor Summary
Constructor | Description |
---|---|
PrivateCloudIdentity() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principal |
String |
tenantId()
Get the tenant |
Resource |
type()
Get the type property: The type of identity used for the private cloud. |
void |
validate()
Validates the instance. |
Private |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the private cloud. |
Methods inherited from java.lang.Object
Constructor Details
PrivateCloudIdentity
public PrivateCloudIdentity()
Creates an instance of PrivateCloudIdentity class.
Method Details
principalId
public String principalId()
Get the principalId property: The principal ID of private cloud identity. This property will only be provided for a system assigned identity.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant ID associated with the private cloud. This property will only be provided for a system assigned identity.
Returns:
type
public ResourceIdentityType type()
Get the type property: The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.
Returns:
validate
public void validate()
Validates the instance.
withType
public PrivateCloudIdentity withType(ResourceIdentityType type)
Set the type property: The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for