Class PartialManagedServiceIdentity


  • public class PartialManagedServiceIdentity
    extends Object
    Managed service identity (system assigned and/or user assigned identities).
    • Constructor Detail

      • PartialManagedServiceIdentity

        public PartialManagedServiceIdentity()
    • Method Detail

      • type

        public ManagedServiceIdentityType type()
        Get the type property: Managed service identity (system assigned and/or user assigned identities).
        Returns:
        the type value.
      • withType

        public PartialManagedServiceIdentity withType​(ManagedServiceIdentityType type)
        Set the type property: Managed service identity (system assigned and/or user assigned identities).
        Parameters:
        type - the type value to set.
        Returns:
        the PartialManagedServiceIdentity object itself.
      • userAssignedIdentities

        public Map<String,​Object> userAssignedIdentities()
        Get the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
        Returns:
        the userAssignedIdentities value.
      • withUserAssignedIdentities

        public PartialManagedServiceIdentity withUserAssignedIdentities​(Map<String,​Object> userAssignedIdentities)
        Set the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
        Parameters:
        userAssignedIdentities - the userAssignedIdentities value to set.
        Returns:
        the PartialManagedServiceIdentity object itself.
      • validate

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