Class PrivateCloudIdentity


  • public class PrivateCloudIdentity
    extends Object
    Identity for the virtual machine.
    • Constructor Detail

      • PrivateCloudIdentity

        public PrivateCloudIdentity()
    • Method Detail

      • 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:
        the principalId value.
      • 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:
        the tenantId value.
      • 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:
        the type value.
      • 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:
        type - the type value to set.
        Returns:
        the PrivateCloudIdentity object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.