public static DeletedManagedHsm GetDeletedManagedHsm(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         DeletedManagedHsm.ValidateResourceId(id);
         return new DeletedManagedHsm(client, id);
     }
                             ));
 }
 public static DeletedManagedHsm GetDeletedManagedHsm(this ArmClient armClient, ResourceIdentifier id)
 {
     DeletedManagedHsm.ValidateResourceId(id);
     return(new DeletedManagedHsm(armClient, id));
 }